fhx
8 天以前 a39ee53a8ee5754642ba4c670ee15fc3b9e7a746
提交 | 用户 | age
ca20cb 1 package com.hz.his.dto.appointment;
F 2
3 import lombok.Data;
4
5 /**
6  * 预约V2版dto
7  * @USER: fhx
8  * @DATE: 2024/3/27
9  **/
10 @Data
11 public class AppointmentV2Dto {
12
13     /** 操作人类型(OperatorConstants) */
14     private Integer opType;
15     /** 操作人标识 */
16     private String opId;
17     /** 操作人角色id(EmployeeRole) */
18     private String opRoleId;
19
20     /** 预约id */
21     private String id;
22     private String aptId;
23     /** 用户id */
24     private String userId;
25     /** 门店id */
26     private String shopId;
27     /** 医生id */
28     private String doctorId;
29     /** 护士id */
30     private String nurseId;
31     /** 预约顾问id */
32     private String corpUserId;
33     /** 活动日期id */
34     private String activityDayId;
35     /** 面诊房间id */
36     private String comRoomId;
37     /** 治疗房间id */
38     private String treatRoomId;
39
40
41     /** 添加模式(Appointment) */
42     private Integer addMode;
43     /** 就诊类型 */
44     private String visitType;
45     /** 预约类型 */
46     private Integer appType;
47     /** 是否转疗 */
48     private Integer isSwitch;
49     /** 是否MIC同意 */
50     private Integer isMicApprove;
51     /** 是否特殊客户 */
52     private Integer specialUser;
53     /** 是否服务医生安排 */
54     private Integer obeyTime;
55     /** 是否服务时间安排 */
56     private Integer obeyDoctor;
57     /** 是否发送短信(0:勾选,1:不选) */
58     private Integer isSendMsg;
59     /** 是否发送到店提醒短信提醒(0:否,1:是) */
60     private Integer isArriveSendMsg;
61     /** 匹配时间类型:1正常;2开始时间减5分钟;3结束时间减5分钟 */
62     private Integer handleNum;
63     /** 是否到店 */
64     private Integer isArrive;
65
66     /** 项目id(多个逗号分隔) */
67     private String projectIds;
68     /** 项目名称(多个逗号分隔) */
69     private String projectNames;
70     /** 图片(多个逗号分隔) */
71     private String imgUrls;
72     /** 备注 */
73     private String remark;
74     /** 餐食备注 */
75     private String mealsRemark;
7f1596 76     /** 预约冲突原因 */
F 77     private String conflictReason;
ca20cb 78
F 79     /** 预约项目json字符串 */
80     private String projectJson;
81     /** 治疗时间json字符串 */
82     private String zlTimeJson;
83     /** 设备时间json字符串 */
84     private String deviceTimeJson;
85     /** 生日日期(yyyy-MM-dd) */
86     private String birthday;
87
88     /** 开始日期(yyyy-MM-dd) */
89     private String arriveDate;
90     /** 开始时间 */
91     private String startTime;
92     /** 结束时间 */
93     private String endTime;
94
95
96     /** 实际面诊时长(分) */
97     private Integer realMzTime;
98     /** 等待时长(分) */
99     private Integer waitTime;
100     private Integer waitDuration;
101     /** 沟通时长(分) */
102     private Integer gtTime;
103     private Integer comDuration;
104     /** 面诊时长(分) */
105     private Integer mzTime;
106     private Integer docComDuration;
107     /** 麻敷时长(分) */
108     private Integer mfTime;
109     private Integer palsyDuration;
110     /** 术前时长(分) */
111     private Integer sqTime;
112     private Integer readyDuration;
113     /** 治疗时长(分) */
114     private Integer zlTime;
115     private Integer treatDuration;
116     /** 医生治疗时长(分) */
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
136     /** 取消预约凭证文件路径 */
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;
147
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     }
158 }