| | |
| | | |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.*; |
| | | |
| | | import java.time.LocalDate; |
| | | import java.util.*; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import java.time.LocalDateTime; |
| | |
| | | |
| | | @Schema(description = "预约日期", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @ExcelProperty("预约日期") |
| | | private LocalDateTime bookDate; |
| | | private LocalDate bookDate; |
| | | |
| | | @Schema(description = "预约时间段", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @ExcelProperty("预约时间段") |
| | |
| | | |
| | | @Schema(description = "预约检查类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2") |
| | | @ExcelProperty(value = "预约检查类型", converter = DictConvert.class) |
| | | @DictFormat("ecg_check_type") // TODO 代码优化:建议设置到对应的 DictTypeConstants 枚举类中 |
| | | private Byte bookCheckType; |
| | | |
| | | @Schema(description = "预约来源:X系统、护士手动预约", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @ExcelProperty("预约来源:X系统、护士手动预约") |
| | | private String bookSrc; |
| | | |
| | | @Schema(description = "已付款") |
| | | @ExcelProperty("已付款") |
| | | private Integer paid; |
| | | } |