| | |
| | | package cn.lihu.jh.module.ecg.controller.admin.appointment.vo; |
| | | |
| | | import com.alibaba.excel.annotation.ExcelProperty; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.*; |
| | | import java.util.*; |
| | | import jakarta.validation.constraints.*; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | 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 Long id; |
| | | |
| | | @Schema(description = "就诊流水号", example = "2024546") |
| | | //@NotEmpty(message = "就诊流水号") |
| | | private String episodeId; |
| | | |
| | | @Schema(description = "患者编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "29034") |
| | | @NotEmpty(message = "患者编号不能为空") |
| | |
| | | |
| | | @Schema(description = "患者性别", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotNull(message = "患者性别不能为空") |
| | | private Boolean patGender; |
| | | private Byte patGender; |
| | | |
| | | @Schema(description = "患者生日") |
| | | private LocalDate patBirthday; |
| | | private LocalDateTime patBirthday; |
| | | |
| | | @Schema(description = "患者手机") |
| | | private String patMobile; |
| | |
| | | private String patBedNo; |
| | | |
| | | @Schema(description = "预约编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "27849") |
| | | @NotEmpty(message = "预约编号不能为空") |
| | | //@NotEmpty(message = "预约编号不能为空") |
| | | private String bookId; |
| | | |
| | | @Schema(description = "预约检查时间段", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotNull(message = "预约检查时间段不能为空") |
| | | private LocalDateTime bookPeriodStart; |
| | | @Schema(description = "预约日期", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotNull(message = "预约日期不能为空") |
| | | private LocalDateTime bookDate; |
| | | |
| | | @Schema(description = "预约检查时间段", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotNull(message = "预约检查时间段不能为空") |
| | | private LocalDateTime bookPeriodEnd; |
| | | @Schema(description = "预约时间段", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotNull(message = "预约时间段不能为空") |
| | | private Integer bookTimeslot; |
| | | |
| | | @Schema(description = "预约发生时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotNull(message = "预约发生时间不能为空") |
| | | //@NotNull(message = "预约发生时间不能为空") |
| | | private LocalDateTime bookTime; |
| | | |
| | | @Schema(description = "预约检查类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2") |
| | | @NotNull(message = "预约检查类型不能为空") |
| | | private Boolean bookCheckType; |
| | | private Integer bookCheckType; |
| | | |
| | | } |
| | | @Schema(description = "已付款") |
| | | private Integer paid; |
| | | } |