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;//专区排序 }