liusheng
3 天以前 a2a840d4969d680b30eeec184a7059fef64d0b84
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/vo/AppointmentRespVO.java
@@ -3,10 +3,14 @@
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.sql.Date;
import java.time.LocalDate;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import cn.lihu.jh.framework.excel.core.annotations.DictFormat;
import cn.lihu.jh.framework.excel.core.convert.DictConvert;
@@ -18,9 +22,17 @@
    private Long id;
    @Schema(description = "预约申请号", example = "2024435")
    @ExcelProperty("预约申请号")
    private String applyNo;
    @Schema(description = "就诊流水号", example = "2024546")
    @ExcelProperty("就诊流水号")
    private String episodeId;
    @Schema(description = "患者来源", example = "2024546")
    @ExcelProperty("患者来源")
    private Integer patSrc;
    @Schema(description = "患者编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "29034")
    @ExcelProperty("患者编号")
@@ -75,10 +87,6 @@
    @ExcelProperty("床号")
    private String patBedNo;
    @Schema(description = "预约编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "27849")
    @ExcelProperty("预约编号")
    private String bookId;
    @Schema(description = "预约日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("预约日期")
    private LocalDate bookDate;
@@ -92,6 +100,7 @@
    private LocalDateTime bookTime;
    @Schema(description = "预约检查类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @DictFormat("ecg_check_type")
    @ExcelProperty(value = "预约检查类型", converter = DictConvert.class)
    private Integer bookCheckType;
@@ -100,10 +109,48 @@
    private Integer bookSeqNum;
    @Schema(description = "预约来源:X系统、护士手动预约", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("预约来源:X系统、护士手动预约")
//    @ExcelProperty("预约来源:X系统、护士手动预约")
    private Integer bookSrc;
    @Schema(description = "已付款")
    @ExcelProperty("已付款")
    @Schema(description = "已付款 0-未交费  1-已缴费")
    @DictFormat("ecg_pay_type")
    @ExcelProperty(value = "付款状态", converter = DictConvert.class)
    private Integer paid;
}
    //    @TableField(exist = false)
    @Schema(description = "状态")
    @DictFormat("ecg_status_type")
    @ExcelProperty(value = "状态", converter = DictConvert.class)
    private String status;
    /**
     * 登记时间
     */
    @Schema(description = "登记时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("登记时间")
    private Date registerDate;
    /**
     * 耐药性: 是否多耐1代表是,0代表不是
     */
    private String tolerance;
    /**
     * 住院号
     */
    private String hospitalNo;
    /**
     * 医保卡号
     */
    private String medicalCard;
    /**
     * 门诊号
     */
    private String outpatientNo;
    private LocalDateTime createTime;
}