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_butie
 *
 * @author ruoyi
 * @date 2025-05-12
 */

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

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

    /**
     * 租户id
     */
    @NotNull(message = "租户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long tenantId;

    /**
     * 补贴或者扣减项名称
     */
    @NotBlank(message = "补贴或者扣减项名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 固定（0-不固定 1-固定）
     */
    @NotBlank(message = "固定（0-不固定 1-固定）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fixed;

    /**
     * 类型（0-减项 1-增项）
     */
    @NotBlank(message = "类型（0-减项 1-增项）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;

    /**
     * 删除标志（0-可用 1-删除）
     */
    //@NotNull(message = "删除标志（0-可用 1-删除）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer deleted;

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


}
