liusheng
3 天以前 eb3195e397b023cfae1ee4dea7fbc29f1271504f
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/vo/AppointmentSaveReqVO.java
@@ -1,17 +1,32 @@
package cn.lihu.jh.module.ecg.controller.admin.appointment.vo;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.time.LocalDateTime;
@Schema(description = "管理后台 - 预约新增/修改 Request VO")
@Data
public class AppointmentSaveReqVO {
    private Integer id;
    private Long id;
    @Schema(description = "预约申请号", example = "2024435")
    private String applyNo;
    @Schema(description = "就诊流水号", example = "2024546")
    //@NotEmpty(message = "就诊流水号")
    private String episodeId;
    /**
     * 患者来源类型  01问诊 02急诊 03体检 04住院
     */
    private Integer patSrc;
    @Schema(description = "患者编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "29034")
    @NotEmpty(message = "患者编号不能为空")
@@ -23,7 +38,7 @@
    @Schema(description = "患者性别", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "患者性别不能为空")
    private Boolean patGender;
    private Byte patGender;
    @Schema(description = "患者生日")
    private LocalDateTime patBirthday;
@@ -55,10 +70,6 @@
    @Schema(description = "床号")
    private String patBedNo;
    @Schema(description = "预约编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "27849")
    //@NotEmpty(message = "预约编号不能为空")
    private String bookId;
    @Schema(description = "预约日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "预约日期不能为空")
    private LocalDateTime bookDate;
@@ -73,6 +84,11 @@
    @Schema(description = "预约检查类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "预约检查类型不能为空")
    private Byte bookCheckType;
    private Integer bookCheckType;
}
    @Schema(description = "已付款")
    private Integer paid;
    @TableField(exist = false)
    private String status;
}