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.web.domain.NutritionDiagnosis;

import java.util.Date;
import java.util.List;

/**
 * 营养诊断业务对象 nutrition_diagnosis
 *
 * @author Lion Li
 * @date 2025-07-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = NutritionDiagnosis.class, reverseConvertGenerate = false)
public class NutritionDiagnosisBo extends BaseEntity {

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

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

    /**
     * 看诊类型
     */
    private String type;

    /**
     * 门诊号
     */
    private String outpatientNo;

    /**
     * 会诊结果模板id
     */
    private Long consultantTemplateId;

    /**
     * 营养诊断标签id
     */
    private String diagnosisLableId;

    /**
     * 诊断依据id
     */
    private String diagnosisBasisId;

    private String consultantResult;

    private String consultantResultStr;

    /**
     * 医嘱
     */
    private String medicalOrder;

    private List<String>labelList;

    private List<Date>dateRange;


}
