package org.dromara.web.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 营养诊断对象 nutrition_diagnosis
 *
 * @author Lion Li
 * @date 2025-07-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("nutrition_diagnosis")
public class NutritionDiagnosis extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;


    /**
     * 患者id
     */
    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 medicalOrder;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableLogic
    private String delFlag;


}
