EventUpdateDTO.java 972 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. package cn.cslg.pas.common.dto.business;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import io.swagger.v3.oas.annotations.media.Schema;
  4. import lombok.Data;
  5. import org.springframework.format.annotation.DateTimeFormat;
  6. import java.util.Date;
  7. import java.util.List;
  8. /**
  9. * <p>
  10. * 事件DTO类
  11. * </p>
  12. *
  13. * @author 李仁杰
  14. * @since 2022-10-20
  15. */
  16. @Data
  17. /*数据库中的表对应的类
  18. */
  19. public class EventUpdateDTO {
  20. @Schema(description = "id")
  21. private Integer id;
  22. @Schema(description = "名称")
  23. private String name;
  24. @Schema(description = "描述")
  25. private String description;
  26. @Schema(description = "客户id")
  27. private Integer clientId;
  28. @Schema(description = "场景id")
  29. private Integer scenarioId;
  30. @Schema(description = "发生时间")
  31. @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  32. @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
  33. private Date eventDate;
  34. private List<String> fileGuids;
  35. }