陶杰
2024-08-22 ee9032d9baf5f33e376d2d2699136e0a7b26bec7
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
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 FlowerListDTO extends FlowerSupplierListDTO {
 
    @ApiModelProperty(value = "供应商名称")
    private String supplierName;
 
    @ApiModelProperty(value = "供应商类型")
    private String supplierType;
 
    @ApiModelProperty(value = "标签")
    private String tags;
 
    @ApiModelProperty(value = "审核时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8")
    @DateTimeFormat
    private LocalDateTime auditTime;
 
    @ApiModelProperty(value = "专区id")
    private String zoneId;
 
    @ApiModelProperty(value = "专区名称")
    private String zoneName;
 
    @ApiModelProperty(value = "是否推荐")
    private Boolean recommend;
 
    @ApiModelProperty(value = "推荐排序")
    private Integer recommendRank;//推荐排序
 
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8")
    @DateTimeFormat
    private LocalDateTime createTime;
 
    @ApiModelProperty("更新时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8")
    @DateTimeFormat
    private LocalDateTime updateTime;
 
    private Boolean shown;//是否显示
 
    private Integer zoneRank;//专区排序
}