fwq
2024-04-24 1b6aaa7d6c379ccdb0870a36f848c1f811577bf0
提交 | 用户 | age
0e8ace 1 package com.hz.his.dto.appointment;
F 2
3 import lombok.Data;
4
c31c9e 5 import java.util.Date;
F 6
0e8ace 7 /**
F 8  * 预约V2版dto
9  * @USER: fhx
10  * @DATE: 2024/3/27
11  **/
12 @Data
13 public class AppointmentV2Dto {
14
15     /** 操作人类型(OperatorConstants) */
16     private Integer opType;
17     /** 操作人标识 */
18     private String opId;
19     /** 操作人角色id(EmployeeRole) */
20     private String opRoleId;
21
22     /** 预约id */
23     private String id;
24     private String aptId;
25     /** 用户id */
26     private String userId;
27     /** 门店id */
28     private String shopId;
29     /** 医生id */
30     private String doctorId;
e4b84e 31     /** 护士id */
F 32     private String nurseId;
0e8ace 33     /** 预约顾问id */
F 34     private String corpUserId;
35     /** 活动日期id */
36     private String activityDayId;
fc461d 37     /** 面诊房间id */
F 38     private String comRoomId;
39     /** 治疗房间id */
40     private String treatRoomId;
0e8ace 41
F 42
43     /** 添加模式(Appointment) */
44     private Integer addMode;
45     /** 就诊类型 */
46     private String visitType;
47     /** 预约类型 */
48     private Integer appType;
49     /** 是否转疗 */
50     private Integer isSwitch;
51     /** 是否MIC同意 */
52     private Integer isMicApprove;
53     /** 是否特殊客户 */
54     private Integer specialUser;
55     /** 是否服务医生安排 */
56     private Integer obeyTime;
57     /** 是否服务时间安排 */
58     private Integer obeyDoctor;
59     /** 是否发送短信(0:勾选,1:不选) */
60     private Integer isSendMsg;
61     /** 是否发送到店提醒短信提醒(0:否,1:是) */
62     private Integer isArriveSendMsg;
63     /** 匹配时间类型:1正常;2开始时间减5分钟;3结束时间减5分钟 */
64     private Integer handleNum;
65     /** 是否到店 */
66     private Integer isArrive;
67
68     /** 项目id(多个逗号分隔) */
69     private String projectIds;
70     /** 项目名称(多个逗号分隔) */
71     private String projectNames;
72     /** 图片(多个逗号分隔) */
73     private String imgUrls;
74     /** 备注 */
75     private String remark;
76     /** 餐食备注 */
77     private String mealsRemark;
78
79     /** 预约项目json字符串 */
80     private String projectJson;
81     /** 治疗时间json字符串 */
82     private String zlTimeJson;
83     /** 设备时间json字符串 */
84     private String deviceTimeJson;
c31c9e 85     /** 生日日期(yyyy-MM-dd) */
F 86     private String birthday;
0e8ace 87
F 88     /** 开始日期(yyyy-MM-dd) */
89     private String arriveDate;
90     /** 开始时间 */
91     private String startTime;
92     /** 结束时间 */
93     private String endTime;
94
fc461d 95
0e8ace 96     /** 实际面诊时长(分) */
F 97     private Integer realMzTime;
98     /** 等待时长(分) */
99     private Integer waitTime;
fc461d 100     private Integer waitDuration;
0e8ace 101     /** 沟通时长(分) */
F 102     private Integer gtTime;
fc461d 103     private Integer comDuration;
0e8ace 104     /** 面诊时长(分) */
F 105     private Integer mzTime;
fc461d 106     private Integer docComDuration;
0e8ace 107     /** 麻敷时长(分) */
F 108     private Integer mfTime;
fc461d 109     private Integer palsyDuration;
0e8ace 110     /** 术前时长(分) */
F 111     private Integer sqTime;
fc461d 112     private Integer readyDuration;
0e8ace 113     /** 治疗时长(分) */
F 114     private Integer zlTime;
fc461d 115     private Integer treatDuration;
0e8ace 116     /** 医生治疗时长(分) */
F 117     private Integer doctorZlTime;
118
119     /** 真实沟通时长 */
120     private Integer realComDuration;
121     /** 真实面诊时长 */
122     private Integer realDocComDuration;
123     /** 真实预约时长 */
124     private Integer realDuration;
125     /** 真实手续时长 */
126     private Integer realProDuration;
127     /** 真实治疗时长 */
128     private Integer realTreatDuration;
129     /** 真实准备时长 */
130     private Integer realReadyDuration;
131     /** 真实等待时长 */
132     private Integer realWaitDuration;
133     /** 真实麻敷时长 */
134     private Integer realPalsyDuration;
135
85a953 136     /** 取消预约凭证文件路径 */
F 137     private String annexUrl;
138
139 //    /** 编辑预约 - 是否日期有变化(0否1是) */
140 //    private Integer isDayChange;
141 //    /** 编辑预约 - 是否项目有变化(0否1是) */
142 //    private Integer isProjectChange;
143 //    /** 编辑预约 - 是否医生有变化(0否1是) */
144 //    private Integer isChangeDoctor;
145 //    /** 编辑预约 - 是否时间有变化(0否1是) */
146 //    private Integer isChangeTime;
fc461d 147
F 148
149     /** 后台操作预约:时长字段赋值统一字段 */
150     public void timeFill(){
151         this.mzTime = this.docComDuration;
152         this.gtTime = this.comDuration;
153         this.mfTime = this.palsyDuration;
154         this.sqTime = this.readyDuration;
155         this.waitTime = this.waitDuration;
156         this.zlTime = treatDuration;
157     }
0e8ace 158 }