| | |
| | | /** 目的地纬度 */ |
| | | private BigDecimal destinationLatitude; |
| | | |
| | | /** 预计公里数 */ |
| | | private BigDecimal estimatedDistance; |
| | | |
| | | /** 转运时间 */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date transferTime; |
| | | |
| | | /** 患者信息 */ |
| | | private PatientInfo patient; |
| | | |
| | | /** 转出医院信息 */ |
| | | private HospitalInfo hospitalOut; |
| | | |
| | | /** 转入医院信息 */ |
| | | private HospitalInfo hospitalIn; |
| | | |
| | | /** 转运公里数 */ |
| | | private BigDecimal transferDistance; |
| | | |
| | | /** 成交价 */ |
| | | private BigDecimal price; |
| | | |
| | | /** 服务时间 */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date serviceTime; |
| | | |
| | | /** 乘客信息 */ |
| | | private PassengerInfo passenger; |
| | | |
| | | /** 起始地址 */ |
| | | private String startAddress; |
| | | |
| | | /** 结束地址 */ |
| | | private String endAddress; |
| | | |
| | | /** 福祉车公里数 */ |
| | | private BigDecimal distance; |
| | | |
| | | /** 车辆ID列表 */ |
| | | private List<Long> vehicleIds; |
| | | |
| | | // 患者信息内部类 |
| | | public static class PatientInfo { |
| | | private String contact; |
| | | private String phone; |
| | | private String name; |
| | | private String gender; |
| | | private String idCard; |
| | | private String condition; |
| | | |
| | | // getters and setters |
| | | public String getContact() { |
| | | return contact; |
| | | } |
| | | |
| | | public void setContact(String contact) { |
| | | this.contact = contact; |
| | | } |
| | | |
| | | public String getPhone() { |
| | | return phone; |
| | | } |
| | | |
| | | public void setPhone(String phone) { |
| | | this.phone = phone; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getGender() { |
| | | return gender; |
| | | } |
| | | |
| | | public void setGender(String gender) { |
| | | this.gender = gender; |
| | | } |
| | | |
| | | public String getIdCard() { |
| | | return idCard; |
| | | } |
| | | |
| | | public void setIdCard(String idCard) { |
| | | this.idCard = idCard; |
| | | } |
| | | |
| | | public String getCondition() { |
| | | return condition; |
| | | } |
| | | |
| | | public void setCondition(String condition) { |
| | | this.condition = condition; |
| | | } |
| | | } |
| | | |
| | | // 医院信息内部类 |
| | | public static class HospitalInfo { |
| | | private String name; |
| | | private String department; |
| | | private String bedNumber; |
| | | private String address; |
| | | private BigDecimal longitude; |
| | | private BigDecimal latitude; |
| | | |
| | | // getters and setters |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getDepartment() { |
| | | return department; |
| | | } |
| | | |
| | | public void setDepartment(String department) { |
| | | this.department = department; |
| | | } |
| | | |
| | | public String getBedNumber() { |
| | | return bedNumber; |
| | | } |
| | | |
| | | public void setBedNumber(String bedNumber) { |
| | | this.bedNumber = bedNumber; |
| | | } |
| | | |
| | | public String getAddress() { |
| | | return address; |
| | | } |
| | | |
| | | public void setAddress(String address) { |
| | | this.address = address; |
| | | } |
| | | |
| | | public BigDecimal getLongitude() { |
| | | return longitude; |
| | | } |
| | | |
| | | public void setLongitude(BigDecimal longitude) { |
| | | this.longitude = longitude; |
| | | } |
| | | |
| | | public BigDecimal getLatitude() { |
| | | return latitude; |
| | | } |
| | | |
| | | public void setLatitude(BigDecimal latitude) { |
| | | this.latitude = latitude; |
| | | } |
| | | } |
| | | |
| | | // 乘客信息内部类 |
| | | public static class PassengerInfo { |
| | | private String contact; |
| | | private String phone; |
| | | |
| | | // getters and setters |
| | | public String getContact() { |
| | | return contact; |
| | | } |
| | | |
| | | public void setContact(String contact) { |
| | | this.contact = contact; |
| | | } |
| | | |
| | | public String getPhone() { |
| | | return phone; |
| | | } |
| | | |
| | | public void setPhone(String phone) { |
| | | this.phone = phone; |
| | | } |
| | | } |
| | | |
| | | public String getTaskType() { |
| | | return taskType; |
| | |
| | | this.destinationLatitude = destinationLatitude; |
| | | } |
| | | |
| | | public BigDecimal getEstimatedDistance() { |
| | | return estimatedDistance; |
| | | } |
| | | |
| | | public void setEstimatedDistance(BigDecimal estimatedDistance) { |
| | | this.estimatedDistance = estimatedDistance; |
| | | } |
| | | |
| | | public Date getTransferTime() { |
| | | return transferTime; |
| | | } |
| | | |
| | | public void setTransferTime(Date transferTime) { |
| | | this.transferTime = transferTime; |
| | | } |
| | | |
| | | public PatientInfo getPatient() { |
| | | return patient; |
| | | } |
| | | |
| | | public void setPatient(PatientInfo patient) { |
| | | this.patient = patient; |
| | | } |
| | | |
| | | public HospitalInfo getHospitalOut() { |
| | | return hospitalOut; |
| | | } |
| | | |
| | | public void setHospitalOut(HospitalInfo hospitalOut) { |
| | | this.hospitalOut = hospitalOut; |
| | | } |
| | | |
| | | public HospitalInfo getHospitalIn() { |
| | | return hospitalIn; |
| | | } |
| | | |
| | | public void setHospitalIn(HospitalInfo hospitalIn) { |
| | | this.hospitalIn = hospitalIn; |
| | | } |
| | | |
| | | public BigDecimal getTransferDistance() { |
| | | return transferDistance; |
| | | } |
| | | |
| | | public void setTransferDistance(BigDecimal transferDistance) { |
| | | this.transferDistance = transferDistance; |
| | | } |
| | | |
| | | public BigDecimal getPrice() { |
| | | return price; |
| | | } |
| | | |
| | | public void setPrice(BigDecimal price) { |
| | | this.price = price; |
| | | } |
| | | |
| | | public Date getServiceTime() { |
| | | return serviceTime; |
| | | } |
| | | |
| | | public void setServiceTime(Date serviceTime) { |
| | | this.serviceTime = serviceTime; |
| | | } |
| | | |
| | | public PassengerInfo getPassenger() { |
| | | return passenger; |
| | | } |
| | | |
| | | public void setPassenger(PassengerInfo passenger) { |
| | | this.passenger = passenger; |
| | | } |
| | | |
| | | public String getStartAddress() { |
| | | return startAddress; |
| | | } |
| | | |
| | | public void setStartAddress(String startAddress) { |
| | | this.startAddress = startAddress; |
| | | } |
| | | |
| | | public String getEndAddress() { |
| | | return endAddress; |
| | | } |
| | | |
| | | public void setEndAddress(String endAddress) { |
| | | this.endAddress = endAddress; |
| | | } |
| | | |
| | | public List<Long> getVehicleIds() { |
| | | return vehicleIds; |
| | | } |
| | |
| | | public void setVehicleIds(List<Long> vehicleIds) { |
| | | this.vehicleIds = vehicleIds; |
| | | } |
| | | } |
| | | |
| | | public BigDecimal getDistance() { |
| | | return distance; |
| | | } |
| | | |
| | | public void setDistance(BigDecimal distance) { |
| | | this.distance = distance; |
| | | } |
| | | } |