123456789101112131415161718192021222324252627282930313233343536373839 |
- package cn.cslg.pas.common.dto.business;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import io.swagger.v3.oas.annotations.media.Schema;
- import lombok.Data;
- import org.springframework.format.annotation.DateTimeFormat;
- import java.util.Date;
- import java.util.List;
- /**
- * <p>
- * 事件DTO类
- * </p>
- *
- * @author 李仁杰
- * @since 2022-10-20
- */
- @Data
- /*数据库中的表对应的类
- */
- public class EventUpdateDTO {
- @Schema(description = "id")
- private Integer id;
- @Schema(description = "名称")
- private String name;
- @Schema(description = "描述")
- private String description;
- @Schema(description = "客户id")
- private Integer clientId;
- @Schema(description = "场景id")
- private Integer scenarioId;
- @Schema(description = "发生时间")
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
- private Date eventDate;
- private List<String> fileGuids;
- }
|