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; @Data public class OrderSettlementDetailDTO extends AbstractTransDTO { private String flowerName; @ApiModelProperty(value = "商品等级") @DictTrans(target = "flowerLevelStr", codeType = "FLOWER_LEVEL") private String flowerLevel; private String flowerLevelStr; @ApiModelProperty(value = "结算单价") private BigDecimal price; @ApiModelProperty(value = "数量") private Integer num; @ApiModelProperty(value = "结算合计") private BigDecimal totalAmount; @ApiModelProperty(value = "降级扣款") private BigDecimal checkFee; @ApiModelProperty(value = "缺货扣款") private BigDecimal lackFee; @ApiModelProperty(value = "补货扣款") private BigDecimal replaceFee; @ApiModelProperty(value = "集货站运费") private BigDecimal stationFee; @ApiModelProperty(value = "售后理赔") private BigDecimal salesFee; @ApiModelProperty(value = "收货日期") @JsonFormat(pattern="yyyy-MM-dd" ,timezone="GMT+8") @DateTimeFormat private LocalDateTime receiveTime; @ApiModelProperty(value = "质检日期") @JsonFormat(pattern="yyyy-MM-dd" ,timezone="GMT+8") @DateTimeFormat private LocalDateTime checkTime; @ApiModelProperty(value = "订单号") private String orderNo; private String orderId; }