eight
2024-11-26 a73ef74a7b215299d2e6be291266d7cc1c3da85c
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/queue/QueueDO.java
@@ -1,17 +1,21 @@
package cn.lihu.jh.module.ecg.dal.dataobject.queue;
import cn.lihu.jh.module.ecg.dal.dataobject.patient.PatDetails;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.*;
import com.baomidou.mybatisplus.annotation.*;
import cn.lihu.jh.framework.mybatis.core.dataobject.BaseDO;
import java.time.LocalDate;
import java.util.List;
import java.util.Map;
/**
 * 排队 DO
 *
 * @author 芋道源码
 */
@TableName("queue")
@TableName( value="queue", autoResultMap = true )
@KeySequence("queue_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@@ -27,6 +31,14 @@
    @TableId
    private Integer id;
    /**
     * 就诊流水号
     */
    private String episodeId;
    /**
     * 内部预约编号
     */
    private Long appointId;
    /**
     * 患者编号
     */
    private String patId;
@@ -39,6 +51,11 @@
     */
    private Byte patGender;
    /**
     * 患者详情
     */
    @TableField(typeHandler = JacksonTypeHandler.class)
    private PatDetails patDetails;
    /**
     * 预约日期
     */
    private LocalDate bookDate;
@@ -49,7 +66,15 @@
    /**
     * 预约检查类型
     */
    private Byte bookCheckType;
    private Integer bookCheckType;
    /**
     * 预约序号
     */
    private Integer bookSeqNum;
    /**
     * 是否VIP
     */
    private Integer isVip;
    /**
     * 排队序号
     */
@@ -57,7 +82,7 @@
    /**
     * 5:过号 10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成
     */
    private Byte status;
    private Integer status;
    /**
     * 过号标记
     */
@@ -67,13 +92,13 @@
     */
    private Byte expired;
    /**
     * 语音叫号标记
     */
    private Integer called;
    /**
     * 插队标记
     */
    private Byte jumpFlag;
    /**
     * 是否亲和项
     */
    private Integer affinityItem;
    /**
     * 诊室编号
     */
@@ -86,5 +111,5 @@
     * 诊疗床编号
     */
    private String bedNo;
}
}