package com.hz.his.dto.appointment; import lombok.Data; import java.util.Date; /** * 预约V2版dto * @USER: fhx * @DATE: 2024/3/27 **/ @Data public class AppointmentV2Dto { /** 操作人类型(OperatorConstants) */ private Integer opType; /** 操作人标识 */ private String opId; /** 操作人角色id(EmployeeRole) */ private String opRoleId; /** 预约id */ private String id; private String aptId; /** 用户id */ private String userId; /** 门店id */ private String shopId; /** 医生id */ private String doctorId; /** 护士id */ private String nurseId; /** 预约顾问id */ private String corpUserId; /** 活动日期id */ private String activityDayId; /** 面诊房间id */ private String comRoomId; /** 治疗房间id */ private String treatRoomId; /** 添加模式(Appointment) */ private Integer addMode; /** 就诊类型 */ private String visitType; /** 预约类型 */ private Integer appType; /** 是否转疗 */ private Integer isSwitch; /** 是否MIC同意 */ private Integer isMicApprove; /** 是否特殊客户 */ private Integer specialUser; /** 是否服务医生安排 */ private Integer obeyTime; /** 是否服务时间安排 */ private Integer obeyDoctor; /** 是否发送短信(0:勾选,1:不选) */ private Integer isSendMsg; /** 是否发送到店提醒短信提醒(0:否,1:是) */ private Integer isArriveSendMsg; /** 匹配时间类型:1正常;2开始时间减5分钟;3结束时间减5分钟 */ private Integer handleNum; /** 是否到店 */ private Integer isArrive; /** 项目id(多个逗号分隔) */ private String projectIds; /** 项目名称(多个逗号分隔) */ private String projectNames; /** 图片(多个逗号分隔) */ private String imgUrls; /** 备注 */ private String remark; /** 餐食备注 */ private String mealsRemark; /** 预约项目json字符串 */ private String projectJson; /** 治疗时间json字符串 */ private String zlTimeJson; /** 设备时间json字符串 */ private String deviceTimeJson; /** 生日日期(yyyy-MM-dd) */ private String birthday; /** 开始日期(yyyy-MM-dd) */ private String arriveDate; /** 开始时间 */ private String startTime; /** 结束时间 */ private String endTime; /** 实际面诊时长(分) */ private Integer realMzTime; /** 等待时长(分) */ private Integer waitTime; private Integer waitDuration; /** 沟通时长(分) */ private Integer gtTime; private Integer comDuration; /** 面诊时长(分) */ private Integer mzTime; private Integer docComDuration; /** 麻敷时长(分) */ private Integer mfTime; private Integer palsyDuration; /** 术前时长(分) */ private Integer sqTime; private Integer readyDuration; /** 治疗时长(分) */ private Integer zlTime; private Integer treatDuration; /** 医生治疗时长(分) */ private Integer doctorZlTime; /** 真实沟通时长 */ private Integer realComDuration; /** 真实面诊时长 */ private Integer realDocComDuration; /** 真实预约时长 */ private Integer realDuration; /** 真实手续时长 */ private Integer realProDuration; /** 真实治疗时长 */ private Integer realTreatDuration; /** 真实准备时长 */ private Integer realReadyDuration; /** 真实等待时长 */ private Integer realWaitDuration; /** 真实麻敷时长 */ private Integer realPalsyDuration; /** 取消预约凭证文件路径 */ private String annexUrl; // /** 编辑预约 - 是否日期有变化(0否1是) */ // private Integer isDayChange; // /** 编辑预约 - 是否项目有变化(0否1是) */ // private Integer isProjectChange; // /** 编辑预约 - 是否医生有变化(0否1是) */ // private Integer isChangeDoctor; // /** 编辑预约 - 是否时间有变化(0否1是) */ // private Integer isChangeTime; /** 后台操作预约:时长字段赋值统一字段 */ public void timeFill(){ this.mzTime = this.docComDuration; this.gtTime = this.comDuration; this.mfTime = this.palsyDuration; this.sqTime = this.readyDuration; this.waitTime = this.waitDuration; this.zlTime = treatDuration; } }