|
@@ -0,0 +1,194 @@
|
|
|
+package com.sooka.sponest.mobile.event.domain;
|
|
|
+
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import com.ruoyi.common.core.annotation.Excel;
|
|
|
+import com.ruoyi.common.datascope.base.domain.BaseBusinessEntity;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+import javax.validation.constraints.NotBlank;
|
|
|
+import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 事件收藏对象 centerevent_t_event_collect
|
|
|
+ *
|
|
|
+ * @author ruoyi
|
|
|
+ * @date 2025-06-24
|
|
|
+ */
|
|
|
+@Data
|
|
|
+public class AppEventCollect extends BaseBusinessEntity {
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * id
|
|
|
+ */
|
|
|
+ private String id;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 事件编号
|
|
|
+ */
|
|
|
+ private String eventCode;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 收藏人
|
|
|
+ */
|
|
|
+ private String userId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 排序
|
|
|
+ */
|
|
|
+ private String sort;
|
|
|
+
|
|
|
+ public AppEventCollect() {
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ public AppEventCollect(String eventType, String eventTypeXl, String eventName, String eventDescription, String longitude, String latitude, String reportor, Date reportTime, String address) {
|
|
|
+ this.eventType = eventType;
|
|
|
+ this.eventTypeXl = eventTypeXl;
|
|
|
+ this.eventName = eventName;
|
|
|
+ this.eventDescription = eventDescription;
|
|
|
+ this.longitude = longitude;
|
|
|
+ this.latitude = latitude;
|
|
|
+ this.reportor = reportor;
|
|
|
+ this.reportTime = reportTime;
|
|
|
+ this.address = address;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 事件名称
|
|
|
+ */
|
|
|
+ @Excel(name = "事件名称")
|
|
|
+ @NotBlank(message = "事件名称不能为空")
|
|
|
+ private String eventName;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 事件描述
|
|
|
+ */
|
|
|
+ @Excel(name = "事件描述")
|
|
|
+ @NotBlank(message = "事件描述不能为空")
|
|
|
+ private String eventDescription;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 事件分类(大类)
|
|
|
+ */
|
|
|
+ @Excel(name = "事件分类")
|
|
|
+ @NotBlank(message = "事件分类大类不能为空")
|
|
|
+ private String eventType;
|
|
|
+ private String[] eventTypes;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 事件分类(小类)
|
|
|
+ */
|
|
|
+ @NotBlank(message = "事件分类小类不能为空")
|
|
|
+ private String eventTypeXl;
|
|
|
+ private List<String> eventTypeXls;// 选中分类
|
|
|
+ private List<String> defaultTypeXl;// 默认分类
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 事件小类名称
|
|
|
+ */
|
|
|
+ private String eventTypeXlName;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 事件来源
|
|
|
+ */
|
|
|
+ @Excel(name = "事件来源", dictType = "reporting_source")
|
|
|
+ private String reportSource;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 经度
|
|
|
+ */
|
|
|
+ @Excel(name = "经度")
|
|
|
+ @NotBlank(message = "经度不能为空")
|
|
|
+ private String longitude;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 纬度
|
|
|
+ */
|
|
|
+ @Excel(name = "纬度")
|
|
|
+ @NotBlank(message = "纬度不能为空")
|
|
|
+ private String latitude;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 上报人
|
|
|
+ */
|
|
|
+ @Excel(name = "上报人")
|
|
|
+ private String reportor;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 上报时间
|
|
|
+ */
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+// @Excel(name = "上报时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private Date reportTime;
|
|
|
+ private String[] reportTimeRange;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 上报具体位置
|
|
|
+ */
|
|
|
+ private String address;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 事件状态key
|
|
|
+ */
|
|
|
+ @Excel(name = "事件状态")
|
|
|
+ private String eventStatus;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 事件状态value
|
|
|
+ */
|
|
|
+ private String eventStatusValue;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 是否被催办
|
|
|
+ */
|
|
|
+ @Excel(name = "是否被催办", dictType = "sys_isurge")
|
|
|
+ private String isUrged;
|
|
|
+
|
|
|
+ private Integer urgeCount;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 火灾半径
|
|
|
+ */
|
|
|
+ private String fireRadius;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 关联预案
|
|
|
+ */
|
|
|
+ private String reserve;
|
|
|
+
|
|
|
+ private String eventTypeLabel;
|
|
|
+
|
|
|
+ private String eventTypeXlLabel;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 数据状态(可用 、不可用 ) 字典
|
|
|
+ */
|
|
|
+ private String dataStatus;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 数据所属部门id
|
|
|
+ */
|
|
|
+ private Long deptId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 数据所属部门名称
|
|
|
+ */
|
|
|
+ private String deptName;
|
|
|
+
|
|
|
+ private String statusFlag;
|
|
|
+
|
|
|
+ private String escalation;// 是否联系扑火队
|
|
|
+
|
|
|
+ private String isExamine;// 是否审核
|
|
|
+
|
|
|
+ private String isPush;// 是否推送
|
|
|
+
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private Date gdTime;// 归档时间
|
|
|
+
|
|
|
+ private List<CenterdataTAttach> attach;
|
|
|
+
|
|
|
+}
|