package org.dromara.web.domain.bo;

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.*;
import org.dromara.system.domain.bo.SysDeptBo;
import org.dromara.system.domain.bo.SysDiseaseLabelBo;
import org.dromara.web.domain.NutritionEducationTemplate;

import java.util.List;

/**
 * 营养宣教模板业务对象 nutrition_education_template
 *
 * @author Lion Li
 * @date 2025-07-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = NutritionEducationTemplate.class, reverseConvertGenerate = false)
public class NutritionEducationTemplateBo extends BaseEntity {

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

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

    /**
     * 适用科室
     */
    private String deptId;

    /**
     * 疾病标签id
     */
    private String diseaseLabelId;

    /**
     * 模板描述
     */
    private String description;

    /**
     * 正文
     */
    private String content;

    private String contentStr;

    /**
     * 最后修改人部门
     */
    private Long updateDept;

    private String deptName;

    private String createDeptName;

    private String updateDeptName;

    private List<String> deptIdList;

    private List<SysDiseaseLabelBo> labelList;


}
