|
@@ -0,0 +1,70 @@
|
|
|
+package cn.cslg.pas.common.model.vo;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.experimental.Accessors;
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
+
|
|
|
+import java.io.Serializable;
|
|
|
+import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 事件表的列表查询VO类
|
|
|
+ *
|
|
|
+ * @Author chenyu
|
|
|
+ * @Date 2023/4/2
|
|
|
+ */
|
|
|
+@Accessors(chain = true)
|
|
|
+@Data
|
|
|
+public class EventListItemVO implements Serializable {
|
|
|
+ /**
|
|
|
+ * 主键
|
|
|
+ */
|
|
|
+ private Integer id;
|
|
|
+ /**
|
|
|
+ * 事件名称
|
|
|
+ */
|
|
|
+ private String questionName;
|
|
|
+ /**
|
|
|
+ * 描述
|
|
|
+ */
|
|
|
+ private String description;
|
|
|
+ /**
|
|
|
+ * 应用场景(id集合)
|
|
|
+ */
|
|
|
+ private List<Integer> applicationScenarios;
|
|
|
+ /**
|
|
|
+ * 应用场景(名称集合)
|
|
|
+ */
|
|
|
+ private List<String> scenarioNames;
|
|
|
+ /**
|
|
|
+ * 时间
|
|
|
+ */
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @TableField(value = "event_date")
|
|
|
+ private Date eventDate;
|
|
|
+ /**
|
|
|
+ * 专题库id
|
|
|
+ */
|
|
|
+ private Integer projectId;
|
|
|
+ /**
|
|
|
+ * 创建人名称
|
|
|
+ */
|
|
|
+ private String createPersonName;
|
|
|
+ /**
|
|
|
+ * 创建时间
|
|
|
+ */
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private Date createTime;
|
|
|
+ /**
|
|
|
+ * 最后修改时间
|
|
|
+ */
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private Date modifiedTime;
|
|
|
+
|
|
|
+}
|