package com.mzl.flower.dto.response.flower; 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 FlowerSupplierListDTO extends AbstractTransDTO { private Long id; @ApiModelProperty(value = "名称") private String name; @ApiModelProperty(value = "分类") private Long category; private String categoryStr; @ApiModelProperty(value = "单位") private String unit; @ApiModelProperty(value = "颜色") private String color; @ApiModelProperty(value = "封面") private String cover; @ApiModelProperty(value = "级别; FLOWER_LEVEL") @DictTrans(target = "levelStr", codeType = "FLOWER_LEVEL") private String level; private String levelStr; @ApiModelProperty(value = "价格") private BigDecimal price; @ApiModelProperty(value = "销量") private Integer sales; @ApiModelProperty(value = "库存") private Integer stock; @ApiModelProperty(value = "状态; FLOWER_STATUS_ALL") @DictTrans(target = "statusStr", codeType = "FLOWER_STATUS_ALL") private String status; private String statusStr; private Integer realSales;//真实销量 @ApiModelProperty(value = "价格排序") private Integer typeRank; // 限购数量 private Integer limited;// }