package com.mzl.flower.dto.response.flower; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.time.LocalDateTime; import java.util.List; @Data public class FlowerParamListDTO { private Long id; @ApiModelProperty(value = "名称") private String name; private String categories; @ApiModelProperty(value = "创建日期") @JsonFormat(pattern="yyyy-MM-dd HH:mm" ,timezone="GMT+8") @DateTimeFormat private LocalDateTime createTime; }