package com.mzl.flower.dto.response.payment; import com.mzl.flower.base.AbstractTransDTO; import com.mzl.flower.base.annotation.DictTrans; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.math.BigDecimal; @Data public class AbnormalOrderItemDTO extends AbstractTransDTO { @ApiModelProperty(value = "商品名称") private String flowerName; @ApiModelProperty(value = "规格") private String flowerUnit; @ApiModelProperty(value = "商品颜色") private String flowerColor; @ApiModelProperty(value = "商品封面") private String flowerCover; @ApiModelProperty(value = "数量") private Integer num; @ApiModelProperty(value = "供应商价格") private BigDecimal supplierPrice; @ApiModelProperty(value = "价格") private BigDecimal price; @ApiModelProperty(value = "级别; FLOWER_LEVEL") @DictTrans(target = "flowerLevelStr", codeType = "FLOWER_LEVEL") private String flowerLevel; private String flowerLevelStr; @ApiModelProperty(value = "订单商品状态") @DictTrans(target = "statusStr", codeType = "CHECK_OPERATE") private String status; private String statusStr; @ApiModelProperty(value = "补货数量") private Integer replaceNum; @ApiModelProperty(value = "降级数量") private Integer reduceNum; @ApiModelProperty(value = "缺货数量") private Integer lackNum; @ApiModelProperty(value = "需扣款金额") private BigDecimal deductAmount; @ApiModelProperty(value = "补货金额") private BigDecimal replaceAmount; @ApiModelProperty(value = "降级金额") private BigDecimal reduceAmount; @ApiModelProperty(value = "缺货金额") private BigDecimal lackAmount; }