package com.mzl.flower.dto.response.payment; import com.fasterxml.jackson.annotation.JsonFormat; import com.mzl.flower.base.AbstractTransDTO; import com.mzl.flower.base.annotation.DictTrans; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.time.LocalDateTime; @Data public class DeliveryOrderStationListDTO extends AbstractTransDTO { private String id; @ApiModelProperty(value = "订单单号") private String orderNo; @ApiModelProperty(value = "供应商名称") private String supplierName; @ApiModelProperty(value = "供应商电话") private String supplierTel; @ApiModelProperty(value = "集货站名称") private String stationName; @ApiModelProperty(value = "配送单状态") @DictTrans(target = "statusStr", codeType = "DELIVERY_ORDER_STATUS") private String status; private String statusStr; @ApiModelProperty(value = "送达时间") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8") @DateTimeFormat private LocalDateTime arriveTime; @ApiModelProperty(value = "供货总数") private Integer totalNum; @ApiModelProperty(value = "仓库名称") private String warehouseName; @ApiModelProperty(value = "库位名称") private String warehouseLocationCode; }