fhx
2024-08-12 a6a950766586db2d274a179904d9b3ea714a3b88
提交 | 用户 | 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;
76
77     /** 预约项目json字符串 */
78     private String projectJson;
79     /** 治疗时间json字符串 */
80     private String zlTimeJson;
81     /** 设备时间json字符串 */
82     private String deviceTimeJson;
83     /** 生日日期(yyyy-MM-dd) */
84     private String birthday;
85
86     /** 开始日期(yyyy-MM-dd) */
87     private String arriveDate;
88     /** 开始时间 */
89     private String startTime;
90     /** 结束时间 */
91     private String endTime;
92
93
94     /** 实际面诊时长(分) */
95     private Integer realMzTime;
96     /** 等待时长(分) */
97     private Integer waitTime;
98     private Integer waitDuration;
99     /** 沟通时长(分) */
100     private Integer gtTime;
101     private Integer comDuration;
102     /** 面诊时长(分) */
103     private Integer mzTime;
104     private Integer docComDuration;
105     /** 麻敷时长(分) */
106     private Integer mfTime;
107     private Integer palsyDuration;
108     /** 术前时长(分) */
109     private Integer sqTime;
110     private Integer readyDuration;
111     /** 治疗时长(分) */
112     private Integer zlTime;
113     private Integer treatDuration;
114     /** 医生治疗时长(分) */
115     private Integer doctorZlTime;
116
117     /** 真实沟通时长 */
118     private Integer realComDuration;
119     /** 真实面诊时长 */
120     private Integer realDocComDuration;
121     /** 真实预约时长 */
122     private Integer realDuration;
123     /** 真实手续时长 */
124     private Integer realProDuration;
125     /** 真实治疗时长 */
126     private Integer realTreatDuration;
127     /** 真实准备时长 */
128     private Integer realReadyDuration;
129     /** 真实等待时长 */
130     private Integer realWaitDuration;
131     /** 真实麻敷时长 */
132     private Integer realPalsyDuration;
133
134     /** 取消预约凭证文件路径 */
135     private String annexUrl;
136
137 //    /** 编辑预约 - 是否日期有变化(0否1是) */
138 //    private Integer isDayChange;
139 //    /** 编辑预约 - 是否项目有变化(0否1是) */
140 //    private Integer isProjectChange;
141 //    /** 编辑预约 - 是否医生有变化(0否1是) */
142 //    private Integer isChangeDoctor;
143 //    /** 编辑预约 - 是否时间有变化(0否1是) */
144 //    private Integer isChangeTime;
145
146
147     /** 后台操作预约:时长字段赋值统一字段 */
148     public void timeFill(){
149         this.mzTime = this.docComDuration;
150         this.gtTime = this.comDuration;
151         this.mfTime = this.palsyDuration;
152         this.sqTime = this.readyDuration;
153         this.waitTime = this.waitDuration;
154         this.zlTime = treatDuration;
155     }
156 }