package org.dromara.system.domain.bo;

import org.dromara.system.domain.SysDiseaseLabel;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 疾病/部位标签业务对象 sys_disease_label
 *
 * @author Lion Li
 * @date 2025-06-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysDiseaseLabel.class, reverseConvertGenerate = false)
public class SysDiseaseLabelBo extends BaseEntity {

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

    /**
     * 疾病/部位名称
     */
    @NotBlank(message = "疾病/部位名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String labelName;

    /**
     * 疾病/部位编码
     */
    @NotBlank(message = "疾病/部位编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String labelCode;

    /**
     * 所属分类
     */
    private String category;

    /**
     * 状态（0正常 1停用）
     */
    private String status;


}
