| | |
| | | package cn.exrick.xboot.your.entity; |
| | | |
| | | import cn.exrick.xboot.core.base.XbootBaseEntity; |
| | | import cn.hutool.core.util.StrUtil; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | |
| | | @ApiModel(value = "订单任务表") |
| | | public class OrderTask extends XbootBaseEntity { |
| | | |
| | | //存放7天内的数据 |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @ApiModelProperty(value = "订单号") |
| | |
| | | @ApiModelProperty(value = "是否驶出月台(0:否 1:是)") |
| | | private int isOut; |
| | | |
| | | @ApiModelProperty(value = "0配送中,1已送达,2无法送达,3异常签收") |
| | | @ApiModelProperty(value = "0配送中,1已送达,2异常签收") |
| | | private int status; |
| | | |
| | | @ApiModelProperty(value = "无法送达的原因") |
| | |
| | | @ApiModelProperty(value = "签收评价") |
| | | private String evaluate; |
| | | |
| | | @Transient |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "收货人id") |
| | | private String customerReceiveId; |
| | | |
| | | @ApiModelProperty(value = "是否点赞 0:否 1:是") |
| | | private int likes; |
| | | |
| | | @ApiModelProperty(value = "耗时 毫秒") |
| | | private int time; |
| | | |
| | | // @Transient |
| | | // @TableField(exist = false) |
| | | @ApiModelProperty(value = "商户名称") |
| | | private String customerName; |
| | | |
| | | @ApiModelProperty(value = "商户联系人") |
| | | private String linker; |
| | | |
| | | @Transient |
| | | @TableField(exist = false) |
| | |
| | | |
| | | @Transient |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "车牌号") |
| | | private String carNo; |
| | | |
| | | @Transient |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "区域名称") |
| | | private String areaName; |
| | | |
| | | @Transient |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "分段名称") |
| | | private String areaSectionName; |
| | | |
| | | @Transient |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "订单详情") |
| | | private List<OrderDetail> orderDetails; |
| | | } |
| | | |
| | | public String getImg() { |
| | | if (StrUtil.isEmpty(img)){ |
| | | return null; |
| | | } |
| | | if (img.contains("http")){ |
| | | String temp = ""; |
| | | for (int i=0;i<img.split(",").length;i++){ |
| | | String url = img.split(",")[i]; |
| | | temp += "/xboot"+url.split("/xboot")[1]+","; |
| | | } |
| | | img = temp; |
| | | } |
| | | return img; |
| | | } |
| | | } |