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 DeliveryOrderItemStatisticsDTO extends AbstractTransDTO { @ApiModelProperty(value = "商品名称") private String flowerName; @ApiModelProperty(value = "商品等级") @DictTrans(target = "flowerLevelStr", codeType = "FLOWER_LEVEL") private String flowerLevel; private String flowerLevelStr; @ApiModelProperty(value = "数量") private Integer num; @ApiModelProperty(value = "价格") private BigDecimal price; }