package com.ruoyi.system.domain; import java.math.BigDecimal; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Getter; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; /** * orders对象 tb_orders * * @author wzp * @date 2025-05-01 */ @Getter public class TbOrders extends BaseEntity { private static final long serialVersionUID = 1L; /** 广交的订单 ID,系统唯一创建订单 */ @JsonProperty("OrderID") private Long OrderID; /** 联系人 */ @Excel(name = "联系人") @JsonProperty("LinkPerson") private String LinkPerson; /** 联系电话 */ @Excel(name = "联系电话") @JsonProperty("LinkTel") private String LinkTel; /** 受理电话,来电电话 */ @Excel(name = "受理电话,来电电话") @JsonProperty("AlarmTel") private String AlarmTel; /** 患者姓名 */ @Excel(name = "患者姓名") @JsonProperty("PatientName") private String PatientName; /** 患者性别 */ @Excel(name = "患者性别") @JsonProperty("Sex") private Integer Sex; /** 患者年龄 */ @Excel(name = "患者年龄") @JsonProperty("Age") private String Age; /** 患者体重 */ @Excel(name = "患者体重") @JsonProperty("Kg") private String Kg; /** 患者有无意识 */ @Excel(name = "患者有无意识") @JsonProperty("Sense") private String Sense; /** 现场地址 */ @Excel(name = "现场地址") @JsonProperty("LocalAddress") private String LocalAddress; /** 现场地址经度(目前是 gcj02 坐标系) */ @Excel(name = "现场地址经度", readConverterExp = "目=前是,g=cj02,坐=标系") @JsonProperty("LocalLongitude") private Long LocalLongitude; /** 现场地址纬度 */ @Excel(name = "现场地址纬度") @JsonProperty("LocalLatitude") private Long LocalLatitude; /** 现场所在省 */ @Excel(name = "现场所在省") @JsonProperty("LocalProvince") private String LocalProvince; /** 现场所在城市 */ @Excel(name = "现场所在城市") @JsonProperty("LocalCity") private String LocalCity; /** 现场所在区 */ @Excel(name = "现场所在区") @JsonProperty("LocalDistrict") private String LocalDistrict; /** 送往地址 */ @Excel(name = "送往地址") @JsonProperty("SendAddress") private String SendAddress; /** 送往经度 */ @Excel(name = "送往经度") @JsonProperty("SendLongitude") private Long SendLongitude; /** 送往纬度 */ @Excel(name = "送往纬度") @JsonProperty("SendLatitude") private Long SendLatitude; /** 送往所在省 */ @Excel(name = "送往所在省") @JsonProperty("SendProvince") private String SendProvince; /** 送往所在城市 */ @Excel(name = "送往所在城市") @JsonProperty("SendCity") private String SendCity; /** 送往所在区 */ @Excel(name = "送往所在区") @JsonProperty("SendDistrict") private String SendDistrict; /** 预估金额 */ @Excel(name = "预估金额") @JsonProperty("BookingPrice") private BigDecimal BookingPrice; /** 预约时间(时间类型,精确到小时) */ @Excel(name = "预约时间", readConverterExp = "时=间类型,精确到小时") @JsonProperty("BookingDate") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date BookingDate; /** 病人情况 */ @Excel(name = "病人情况") @JsonProperty("Complaint") private String Complaint; /** 人数 */ @Excel(name = "人数") @JsonProperty("PatientCount") private Long PatientCount; /** 预估预约公里 */ @Excel(name = "预估预约公里") @JsonProperty("BookingKM") private Long BookingKM; /** 普通护送,监护护送(可按照第三方的字典新增或赋值) */ @Excel(name = "普通护送,监护护送", readConverterExp = "可=按照第三方的字典新增或赋值") @JsonProperty("EscortCode") private Long EscortCode; /** 步梯或电梯 */ @Excel(name = "步梯或电梯") @JsonProperty("LiftingCode") private Long LiftingCode; /** 楼层 */ @Excel(name = "楼层") @JsonProperty("LiftingFloor") private Long LiftingFloor; /** 监护,重症(可按照第三方的字典新增或赋值) */ @Excel(name = "监护,重症(可按照第三方的字典新增或赋值)") @JsonProperty("RequirementCode") private Long RequirementCode; /** 转运类型(市内,市外,省外等,可按照第三方的字典新增或赋值) */ @Excel(name = "转运类型", readConverterExp = "市=内,市外,省外等,可按照第三方的字典新增或赋值") @JsonProperty("TypeCode") private Long TypeCode; /** 第三方调用接口返回结果,1-成功,2-失败 */ @Excel(name = "第三方调用接口返回结果,1-成功,2-失败") @JsonProperty("ThirdPartyResult") private Integer ThirdPartyResult; /** 第三方服务ID */ @Excel(name = "第三方服务ID") @JsonProperty("ServiceOrdID") private String ServiceOrdID; /** 第三方服务单号 */ @Excel(name = "第三方服务单号") @JsonProperty("ServiceOrdNo") private String ServiceOrdNo; @JsonProperty("Remark") private String Remark; @JsonProperty("CreateTime") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date CreateTime; @JsonProperty("UpdateTime") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date UpdateTime; public void setOrderID(Long OrderID) { this.OrderID = OrderID; } public void setLinkPerson(String LinkPerson) { this.LinkPerson = LinkPerson; } public void setLinkTel(String LinkTel) { this.LinkTel = LinkTel; } public void setAlarmTel(String AlarmTel) { this.AlarmTel = AlarmTel; } public void setPatientName(String PatientName) { this.PatientName = PatientName; } public void setSex(Integer Sex) { this.Sex = Sex; } public void setAge(String Age) { this.Age = Age; } public void setKg(String Kg) { this.Kg = Kg; } public void setSense(String Sense) { this.Sense = Sense; } public void setLocalAddress(String LocalAddress) { this.LocalAddress = LocalAddress; } public void setLocalLongitude(Long LocalLongitude) { this.LocalLongitude = LocalLongitude; } public void setLocalLatitude(Long LocalLatitude) { this.LocalLatitude = LocalLatitude; } public void setLocalProvince(String LocalProvince) { this.LocalProvince = LocalProvince; } public void setLocalCity(String LocalCity) { this.LocalCity = LocalCity; } public void setLocalDistrict(String LocalDistrict) { this.LocalDistrict = LocalDistrict; } public void setSendAddress(String SendAddress) { this.SendAddress = SendAddress; } public void setSendLongitude(Long SendLongitude) { this.SendLongitude = SendLongitude; } public void setSendLatitude(Long SendLatitude) { this.SendLatitude = SendLatitude; } public void setSendProvince(String SendProvince) { this.SendProvince = SendProvince; } public void setSendCity(String SendCity) { this.SendCity = SendCity; } public void setSendDistrict(String SendDistrict) { this.SendDistrict = SendDistrict; } public void setBookingPrice(BigDecimal BookingPrice) { this.BookingPrice = BookingPrice; } public void setBookingDate(Date BookingDate) { this.BookingDate = BookingDate; } public void setComplaint(String Complaint) { this.Complaint = Complaint; } public void setPatientCount(Long PatientCount) { this.PatientCount = PatientCount; } public void setBookingKM(Long BookingKM) { this.BookingKM = BookingKM; } public void setEscortCode(Long EscortCode) { this.EscortCode = EscortCode; } public void setLiftingCode(Long LiftingCode) { this.LiftingCode = LiftingCode; } public void setLiftingFloor(Long LiftingFloor) { this.LiftingFloor = LiftingFloor; } public void setRequirementCode(Long RequirementCode) { this.RequirementCode = RequirementCode; } public void setTypeCode(Long TypeCode) { this.TypeCode = TypeCode; } public void setThirdPartyResult(Integer ThirdPartyResult) { this.ThirdPartyResult = ThirdPartyResult; } public void setServiceOrdID(String ServiceOrdID) { this.ServiceOrdID = ServiceOrdID; } public void setServiceOrdNo(String ServiceOrdNo) { this.ServiceOrdNo = ServiceOrdNo; } public void setRemark(String Remark){this.Remark =Remark;} public void setCreateTime(Date CreateTime){this.CreateTime =CreateTime;} public void setUpdateTime(Date UpdateTime){this.UpdateTime =UpdateTime;} @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("OrderID", getOrderID()) .append("LinkPerson", getLinkPerson()) .append("LinkTel", getLinkTel()) .append("AlarmTel", getAlarmTel()) .append("PatientName", getPatientName()) .append("Sex", getSex()) .append("Age", getAge()) .append("Kg", getKg()) .append("Sense", getSense()) .append("LocalAddress", getLocalAddress()) .append("LocalLongitude", getLocalLongitude()) .append("LocalLatitude", getLocalLatitude()) .append("LocalProvince", getLocalProvince()) .append("LocalCity", getLocalCity()) .append("LocalDistrict", getLocalDistrict()) .append("SendAddress", getSendAddress()) .append("SendLongitude", getSendLongitude()) .append("SendLatitude", getSendLatitude()) .append("SendProvince", getSendProvince()) .append("SendCity", getSendCity()) .append("SendDistrict", getSendDistrict()) .append("BookingPrice", getBookingPrice()) .append("BookingDate", getBookingDate()) .append("Remark", getRemark()) .append("Complaint", getComplaint()) .append("PatientCount", getPatientCount()) .append("BookingKM", getBookingKM()) .append("EscortCode", getEscortCode()) .append("LiftingCode", getLiftingCode()) .append("LiftingFloor", getLiftingFloor()) .append("RequirementCode", getRequirementCode()) .append("TypeCode", getTypeCode()) .append("ThirdPartyResult", getThirdPartyResult()) .append("ServiceOrdID", getServiceOrdID()) .append("ServiceOrdNo", getServiceOrdNo()) .append("CreateTime", getCreateTime()) .append("UpdateTime", getUpdateTime()) .toString(); } }