package com.xzx.gc.model.order;
|
|
import com.xzx.gc.common.utils.StringUtils;
|
import com.xzx.gc.entity.OrderAppraiseInfo;
|
import com.xzx.gc.entity.OrderHomeAppliance;
|
import com.xzx.gc.entity.RebateRule;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Setter;
|
|
import java.util.List;
|
|
@Setter
|
public class OrderInfoVo{
|
@ApiModelProperty(value = "订单地址")
|
private String address;
|
@ApiModelProperty(value = "单元栋")
|
private String unitName;
|
|
public String getUnitName() {
|
return unitName;
|
}
|
@ApiModelProperty(value = "门牌号")
|
private String houseNumber;
|
|
public String getHouseNumber() {
|
return houseNumber;
|
}
|
|
@ApiModelProperty(value = "地址区域")
|
private String addressArea;
|
|
//订单状态(1为待接单,2为服务中,3为待确认,4为待入库,5为完成,6为取消)
|
@ApiModelProperty(value = "订单状态")
|
private String orderStatus;
|
//订单子状态(1为录入信息,2为支付,3为完成)
|
@ApiModelProperty(value = "订单子状态")
|
private String orderSecondStatus;
|
//订单类型(1为回收,2为代丢)
|
@ApiModelProperty(value = "订单类型")
|
private String orderType;
|
|
@ApiModelProperty(value = "预约时间")
|
private String reserveTime;
|
|
@ApiModelProperty(value = "预约时间格式带年")
|
private String reserveTimeForYear;
|
|
@ApiModelProperty(value = "创建用户ID")
|
private String createUserId;
|
|
@ApiModelProperty(value = "消用户ID")
|
private String cancelUserId;
|
|
@ApiModelProperty(value = "创建时间")
|
private String createTime;
|
|
@ApiModelProperty(value = "联系电话(下单人电话)")
|
private String relaPhone;
|
|
|
@ApiModelProperty(value = "联系人名称(下单人名称)")
|
private String relaName;
|
|
@ApiModelProperty(value = "经度")
|
private String longitude;
|
|
@ApiModelProperty(value = "纬度")
|
private String latitude;
|
|
@ApiModelProperty(value = "订单ID")
|
private String orderId;
|
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
|
@ApiModelProperty(value = "创建用户名称")
|
private String createUserName;
|
|
@ApiModelProperty(value = "接单时间")
|
private String receiveTime;
|
|
@ApiModelProperty(value = "用户上传图片路径")
|
private String orderPic;
|
|
@ApiModelProperty(value = "地址ID")
|
private String addressId;
|
|
@ApiModelProperty(value = "物品总重量")
|
private String weight;
|
|
@ApiModelProperty(value = "物品总数量")
|
private String amount;
|
|
@ApiModelProperty(value = "物品总金额")
|
private String money;
|
|
@ApiModelProperty(value = "入库金额")
|
private String storageMoney;
|
|
@ApiModelProperty(value = "接单员ID")
|
private String receiver;
|
|
@ApiModelProperty(value = "接单员姓名")
|
private String receiverName;
|
|
@ApiModelProperty(value = "接单员拍照图片路径")
|
private String takePhonePic;
|
|
@ApiModelProperty(value = "接单员电话")
|
private String receiverPhone;
|
|
@ApiModelProperty("接单员头像")
|
private String receiverPhoto;
|
|
@ApiModelProperty(value = "取消人电话")
|
private String cancelUserPhone;
|
|
@ApiModelProperty(value = "取消人姓名")
|
private String cancelUserName;
|
|
@ApiModelProperty(value = "入库人ID")
|
private String storageUserId;
|
|
@ApiModelProperty(value = "入库人姓名")
|
private String storageUserName;
|
|
@ApiModelProperty(value = "入库人电话")
|
private String storageUserPhone;
|
|
@ApiModelProperty(value = "订单取消原因编码")
|
private String cancelReasonCode;
|
|
@ApiModelProperty(value = "订单取消原因名称")
|
private String cancelReasonName;
|
|
private String cancelReason;
|
|
@ApiModelProperty(value = "订单物品类型")
|
private String itemType;
|
|
@ApiModelProperty(value = "订单物品类型名称")
|
private String itemTypeName;
|
|
@ApiModelProperty(value = "物品单价")
|
private String price;
|
@ApiModelProperty(value = "物品第二单价")
|
private String secondPrice;
|
|
@ApiModelProperty(value = "物品类型图片")
|
private String picture;
|
|
@ApiModelProperty(value = "订单物品集合")
|
private List<OrderItemVo> orderItemList;
|
|
@ApiModelProperty(value = "订单ID集合")
|
private List<String> orderIdList;
|
|
@ApiModelProperty(value = "1:充值,2:环保金支出,3环保金收入,4提现5现金收入 6现金支出")
|
private String payType;
|
|
@ApiModelProperty("距離:單位千米")
|
private String distance;
|
|
@ApiModelProperty("成交时间")
|
private String payTime;
|
|
private Short type;
|
|
@ApiModelProperty("星级")
|
private String star;
|
@ApiModelProperty("接单员完成订单数")
|
private int completeOrderNum;
|
|
@ApiModelProperty("是否已评价")
|
private Boolean appraiseFlag;
|
|
@ApiModelProperty("评价ID")
|
private Long appraiseId;
|
|
@ApiModelProperty("整体评价")
|
private String appraise;
|
|
@ApiModelProperty("排队人数")
|
private int queueNum;
|
|
@ApiModelProperty("返利比率")
|
private String scale;
|
|
@ApiModelProperty(value = "规则ID",hidden = true)
|
private Integer ruleId;
|
|
@ApiModelProperty("返利金额")
|
private String scaleMoney;
|
|
@ApiModelProperty("门店ID")
|
private Long storeId;
|
|
@ApiModelProperty("接单完成时间")
|
private String completeTime;
|
|
@ApiModelProperty("订单超时时间")
|
private String orderTimeOut;
|
|
@ApiModelProperty("评分信息")
|
private OrderAppraiseInfo orderAppraiseInfo;
|
|
@ApiModelProperty("投诉是否已处理0:未处理,1:已处理 空:无投诉")
|
private Integer complaintFlag;
|
|
@ApiModelProperty("是否第一次投诉0:是,1:否")
|
private Integer complaintFirstFlag;
|
|
|
@ApiModelProperty("省名称")
|
private String provinceName;
|
@ApiModelProperty("市名称")
|
private String cityName;
|
@ApiModelProperty("区名称")
|
private String townshipName;
|
|
|
@ApiModelProperty("围栏ID")
|
private String townId;
|
//省份id
|
private String provinceId;
|
//城市id
|
private String cityId;
|
//区县id
|
private String townshipId;
|
|
|
|
@ApiModelProperty("回收员所在的区域ID")
|
private String receiverAreaId;
|
|
@ApiModelProperty("重量返利规则,升序排列 第一条即为最小重量的返利")
|
private List<RebateRule> list;
|
|
|
@ApiModelProperty("适用物品类型(1:废纸,2:杂纸(多选用逗号隔开)")
|
private String productType;
|
|
|
@ApiModelProperty("是否第一次下单 0:是,1:否")
|
private int orderFirstFlag;
|
|
@ApiModelProperty("3:重量返利 6:阶梯返利")
|
private String ruleType;
|
|
@ApiModelProperty("是否已催单 0:是,空:否")
|
private Short orderFastFlag;
|
|
@ApiModelProperty("是否展示催单按钮 0:是,空:否")
|
private Short orderFastShow;
|
|
@ApiModelProperty("围栏名称")
|
private String fenceName;
|
|
@ApiModelProperty("服务ID")
|
private String homeServiceId;
|
|
@ApiModelProperty("到家服务名称")
|
private String serviceName;
|
|
|
@ApiModelProperty("订单后台备注")
|
private String note;
|
|
@ApiModelProperty("家电信息")
|
private OrderHomeAppliance orderHomeAppliance;
|
|
@ApiModelProperty("家电信息ID")
|
private Long homeApplianceId;
|
|
@ApiModelProperty("下单用户的登录电话")
|
private String loginPhone;
|
|
private Short changeReceiverFlag;
|
|
|
public Short getChangeReceiverFlag() {
|
return changeReceiverFlag;
|
}
|
|
public Long getHomeApplianceId() {
|
|
return homeApplianceId;
|
}
|
|
public String getLoginPhone() {
|
return loginPhone;
|
}
|
|
public OrderHomeAppliance getOrderHomeAppliance() {
|
return orderHomeAppliance;
|
}
|
|
public String getNote() {
|
return note;
|
}
|
|
public String getServiceName() {
|
return serviceName;
|
}
|
|
public String getHomeServiceId() {
|
return homeServiceId;
|
}
|
|
public String getFenceName() {
|
return fenceName;
|
}
|
|
public String getTownId() {
|
return townId;
|
}
|
|
public Short getOrderFastFlag() {
|
return orderFastFlag;
|
}
|
|
public Short getOrderFastShow() {
|
return orderFastShow;
|
}
|
|
public String getRuleType() {
|
return ruleType;
|
}
|
|
public int getOrderFirstFlag() {
|
return orderFirstFlag;
|
}
|
|
public String getProductType() {
|
return productType;
|
}
|
|
public List<RebateRule> getList() {
|
return list;
|
}
|
|
public String getReceiverAreaId() {
|
return receiverAreaId;
|
}
|
|
public Integer getComplaintFlag() {
|
return complaintFlag;
|
}
|
|
public Integer getComplaintFirstFlag() {
|
return complaintFirstFlag;
|
}
|
|
public String getReceiverPhoto() {
|
return receiverPhoto;
|
}
|
|
|
public String getProvinceName() {
|
return provinceName;
|
}
|
|
public String getCityName() {
|
return cityName;
|
}
|
|
public String getTownshipName() {
|
return townshipName;
|
}
|
|
public String getProvinceId() {
|
return provinceId;
|
}
|
|
public String getCityId() {
|
return cityId;
|
}
|
|
public String getTownshipId() {
|
return townshipId;
|
}
|
|
public OrderAppraiseInfo getOrderAppraiseInfo() {
|
return orderAppraiseInfo;
|
}
|
|
public String getOrderTimeOut() {
|
return orderTimeOut;
|
}
|
|
public String getCancelReason() {
|
return cancelReason;
|
}
|
|
public String getCompleteTime() {
|
return completeTime;
|
}
|
|
public Long getStoreId() {
|
return storeId;
|
}
|
|
public String getAppraise() {
|
return appraise;
|
}
|
|
public String getScaleMoney() {
|
return scaleMoney;
|
}
|
|
public Integer getRuleId() {
|
return ruleId;
|
}
|
|
public String getScale() {
|
return scale;
|
}
|
|
public int getQueueNum() {
|
return queueNum;
|
}
|
|
public Boolean getAppraiseFlag() {
|
return appraiseFlag;
|
}
|
|
public Long getAppraiseId() {
|
return appraiseId;
|
}
|
|
public String getStar() {
|
return star;
|
}
|
|
public int getCompleteOrderNum() {
|
return completeOrderNum;
|
}
|
|
public Short getType() {
|
return type;
|
}
|
|
public String getSecondPrice() {
|
return secondPrice;
|
}
|
|
public String getPayTime() {
|
return payTime;
|
}
|
|
public String getDistance() {
|
return distance;
|
}
|
|
public String getPayType() {
|
return payType;
|
}
|
|
public String getAddress() {
|
return address;
|
}
|
|
public String getAddressArea() {
|
return addressArea;
|
}
|
|
public String getOrderStatus() {
|
return orderStatus;
|
}
|
|
public String getOrderSecondStatus() {
|
return orderSecondStatus;
|
}
|
|
public String getOrderType() {
|
return orderType;
|
}
|
|
public String getReserveTime() {
|
//将1-9的小时数填充0
|
if(StringUtils.isNotBlank(reserveTime)){
|
String substring = reserveTime.split(" ")[1].substring(0, 1);
|
if(Integer.parseInt(substring)>=1&&Integer.parseInt(substring)<=9&&reserveTime.split(" ")[1].substring(1, 2).equals(":")){
|
String s = reserveTime.split(" ")[0] + " 0" + substring + reserveTime.split(" ")[1].substring(1);
|
}
|
}
|
return reserveTime;
|
}
|
|
|
public String getReceiver() {
|
return receiver;
|
}
|
|
public String getCreateUserId() {
|
return createUserId;
|
}
|
|
public String getCancelUserId() {
|
return cancelUserId;
|
}
|
|
public String getCreateTime() {
|
return createTime;
|
}
|
|
public String getRelaPhone() {
|
return relaPhone;
|
}
|
|
public String getRelaName() {
|
return relaName;
|
}
|
|
public String getLongitude() {
|
return longitude;
|
}
|
|
public String getLatitude() {
|
return latitude;
|
}
|
|
public String getOrderId() {
|
return orderId;
|
}
|
|
public String getRemark() {
|
return remark;
|
}
|
|
public String getCreateUserName() {
|
return createUserName;
|
}
|
|
public String getReceiveTime() {
|
return receiveTime;
|
}
|
|
public String getOrderPic() {
|
return orderPic;
|
}
|
|
public String getAddressId() {
|
return addressId;
|
}
|
|
public String getWeight() {
|
return weight;
|
}
|
|
public String getAmount() {
|
return amount;
|
}
|
|
public String getMoney() {
|
return money;
|
}
|
|
public String getStorageMoney() {
|
return storageMoney;
|
}
|
|
|
public String getReceiverName() {
|
return receiverName;
|
}
|
|
public String getTakePhonePic() {
|
return takePhonePic;
|
}
|
|
public String getReceiverPhone() {
|
return receiverPhone;
|
}
|
|
public String getCancelUserPhone() {
|
return cancelUserPhone;
|
}
|
|
public String getCancelUserName() {
|
return cancelUserName;
|
}
|
|
public String getStorageUserId() {
|
return storageUserId;
|
}
|
|
public String getStorageUserName() {
|
return storageUserName;
|
}
|
|
public String getStorageUserPhone() {
|
return storageUserPhone;
|
}
|
|
public String getCancelReasonCode() {
|
return cancelReasonCode;
|
}
|
|
public String getCancelReasonName() {
|
return cancelReasonName;
|
}
|
|
public String getItemType() {
|
return itemType;
|
}
|
|
public String getItemTypeName() {
|
return itemTypeName;
|
}
|
|
public String getPrice() {
|
return price;
|
}
|
|
public String getPicture() {
|
return picture;
|
}
|
|
public List<OrderItemVo> getOrderItemList() {
|
return orderItemList;
|
}
|
|
public List<String> getOrderIdList() {
|
return orderIdList;
|
}
|
|
public String getReserveTimeForYear() {
|
return reserveTimeForYear;
|
}
|
}
|