eight
2024-11-29 04480e19c8b47c2cb469811d47679c923b82710d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
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 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 = "2024435")
    private String applyNo;
 
    @Schema(description = "就诊流水号", example = "2024546")
    //@NotEmpty(message = "就诊流水号")
    private String episodeId;
 
    @Schema(description = "患者编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "29034")
    @NotEmpty(message = "患者编号不能为空")
    private String patId;
 
    @Schema(description = "患者姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "患者姓名不能为空")
    private String patName;
 
    @Schema(description = "患者性别", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "患者性别不能为空")
    private Byte patGender;
 
    @Schema(description = "患者生日")
    private LocalDateTime patBirthday;
 
    @Schema(description = "患者手机")
    private String patMobile;
 
    @Schema(description = "患者电话")
    private String patPhone;
 
    @Schema(description = "身份证号", example = "798")
    private String patIdentityId;
 
    @Schema(description = "患者地址")
    private String patAddr;
 
    @Schema(description = "患者所在科室代码")
    private String patDeptCode;
 
    @Schema(description = "患者所在科室名称")
    private String patDeptDesc;
 
    @Schema(description = "患者所在病区代码")
    private String patWardCode;
 
    @Schema(description = "患者所在病区名称")
    private String patWardDesc;
 
    @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;
 
    @Schema(description = "预约时间段", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "预约时间段不能为空")
    private Integer bookTimeslot;
 
    @Schema(description = "预约发生时间", requiredMode = Schema.RequiredMode.REQUIRED)
    //@NotNull(message = "预约发生时间不能为空")
    private LocalDateTime bookTime;
 
    @Schema(description = "预约检查类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "预约检查类型不能为空")
    private Integer bookCheckType;
 
    @Schema(description = "已付款")
    private Integer paid;
}