tj
7 天以前 b428226d0cf78bbb843fa17bffb1e338230fae6c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
package com.mzl.flower.dto.response.flower;
 
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 FlowerMarkupPsSpListDTO extends AbstractTransDTO {
    @ApiModelProperty(value = "合伙人id")
    private Long partnerId;
 
    @ApiModelProperty(value = "商品id")
    private Long flowerId;
 
    @ApiModelProperty(value = "名称")
    private String name;
 
    @ApiModelProperty(value = "分类")
    private Long category;
    private String categoryStr;
    private String parentCategoryStr;
 
    @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;
 
    @ApiModelProperty(value = "加价金额")
    private BigDecimal fee;
 
    @ApiModelProperty(value = "标签")
    private String tags;
 
    @ApiModelProperty(value = "审核时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8")
    @DateTimeFormat
    private LocalDateTime auditTime;
 
    @ApiModelProperty(value = "供应商名称")
    private String supplierName;
 
    @ApiModelProperty(value = "重量")
    private Double weight;
}