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.math.BigDecimal; import java.time.LocalDateTime; import java.util.List; @Data public class OrderPlatformListDTO extends AbstractTransDTO { private String id; @ApiModelProperty(value = "订单单号") private String orderNo; @ApiModelProperty(value = "订单金额") private BigDecimal totalAmount; @ApiModelProperty(value = "底价") private BigDecimal supplierAmount; @ApiModelProperty(value = "状态") @DictTrans(target = "statusBackendStr", codeType = "ORDER_STATUS_BACKEND") private String statusBackend; private String statusBackendStr; @ApiModelProperty(value = "收货人") private String customer; @ApiModelProperty(value = "收货人手机号码") private String customerTel; private String customerProvince; private String customerCity; private String customerRegion; @ApiModelProperty(value = "收货地址") private String customerAddress; @ApiModelProperty(value = "支付金额") private BigDecimal paymentAmount; @ApiModelProperty(value = "支付时间") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8") @DateTimeFormat private LocalDateTime paymentTime; @ApiModelProperty(value = "下单时间") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8") @DateTimeFormat private LocalDateTime createTime; @ApiModelProperty(value = "仓库名称") private String warehouseName; @ApiModelProperty(value = "库位名称") private String warehouseLocationCode; @ApiModelProperty(value = "合伙人名称") private String partnerName; @ApiModelProperty(value = "下单人") private String createName; @ApiModelProperty(value = "是否可退款") private boolean couldRefund; @ApiModelProperty(value = "需降级处理退款商品数量-运营平台使用") private Integer levelDownCount; @ApiModelProperty(value = "降级打款记录id,有值表示已处理退款") private String transferId; @ApiModelProperty(value = "明细") private List items; @ApiModelProperty(value = "快递名称") private String deliveryName;//快递名称 @ApiModelProperty(value = "快递单号") private String deliveryNo;//快递单号 @ApiModelProperty(value = "特殊需求") @DictTrans(target = "specialNeedsStr", codeType = "SPEC_REQ") private String specialNeeds; private String specialNeedsStr; @ApiModelProperty(value = "留言") private String remarks; @ApiModelProperty(value = "订单扎数") private Integer saleNum; @ApiModelProperty(value = "物流公司") @DictTrans(target = "logisticsCompanyCodeStr", codeType = "LOGISTICS_COMPANY_CODE") private String logisticsCompanyCode; private String logisticsCompanyCodeStr; }