package com.ruoyi.pay.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订阅套餐业务对象 pay_sub_plan
 *
 * @author ruoyi
 * @date 2025-05-13
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class PaySubPlanBo extends BaseEntity {

    /**
     * 订阅ID
     */
    @NotNull(message = "订阅ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 订阅名称
     */
    @NotBlank(message = "订阅名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 价格
     */
    @NotNull(message = "价格不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long price;

    /**
     * 计划描述
     */
    @NotBlank(message = "计划描述不能为空", groups = { AddGroup.class, EditGroup.class })
    private String description;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


}
