/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.security.trans.securityCommandCenter.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.security.ht.entity.common.BaseEntity;
import org.security.ht.entity.common.FlowEntity;

/**
 * 警情推送实体类
 *
 * @author BladeX
 * @since 2022-07-13
 */
@Data
@TableName("T_SCC_ALARM_PUSH")
@ApiModel(value = "SccAlarmPush对象", description = "警情推送")
public class SccAlarmPush extends FlowEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* 警情来源;1-设备报警，2-人员报警
	*/
		@ApiModelProperty(value = "警情来源;2-设备报警，1-人员报警")
		@TableField("ALARM_TYPE")
	private String alarmType;
	/**
	* 警情推送时间
	*/
		@ApiModelProperty(value = "警情推送时间")
		@JsonFormat(pattern = "yyyy-MM-dd HH:mm:SS")
		@TableField("ALARM_TIME")
	private Date alarmTime;
	/**
	* 事件描述
	*/
		@ApiModelProperty(value = "事件描述")
		@TableField("EVENT_DESCRIPTION")
	private String eventDescription;
	/**
	* 接收机构
	*/
		@ApiModelProperty(value = "接收机构")
		@TableField("RECEIVE_DEPT")
	private String receiveDept;
	/**
	* 逻辑删除标识符;;0-删除，1-正常
	*/
		@ApiModelProperty(value = "逻辑删除标识符;;0-删除，1-正常")
		@TableField("DEL_FLAG")
		@TableLogic
	private String delFlag;

	/**
	 *警情推送状态（0-待推送，1-已推送）
	 */
	@ApiModelProperty(value = "警情推送状态（0-待推送，1-已推送，2-以提报）")
	@TableField("PUSH_STATE")
	private String pushState;

	/**
	 * 联系接警记录关联id
	 */
	@ApiModelProperty(value = "联系接警记录关联id")
	@TableField("LINK_ID")
	private String linkId;

	/**
	 * 网点代码级联字符串,用于级联选择框展示
	 */
	@ApiModelProperty(value = "网点代码级联字符串,用于级联选择框展示")
	@TableField("RECEIVE_DEPT_FRONT")
	private String receiveDeptFront;

	/**
	 * 接收机构接收警情的相关角色
	 */
	@ApiModelProperty(value = "接收机构接收警情的相关角色")
	@TableField("DEPT_ROLES")
	private String deptRoles;

	/**
	 * 处理情况
	 */
	@ApiModelProperty(value = "处理情况")
	@TableField("TREATMENT")
	private String treatment;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	@TableField("REMARK")
	private String remark;

	/**
	 * 部门id
	 */
	@ApiModelProperty(value = "部门id")
	@TableField("DEPT_ID")
	private String deptId;

	/**
	 * 状态;0-未提报 1-按时提报 2-超时提报 3-超时未报
	 */
	@ApiModelProperty(value = "状态;0-未提报 1-按时提报 2-超时提报 3-超时未报")
	@TableField("STATUS")
	private String status;

	/**
	 * 相关附件groupName标识
	 */
	@ApiModelProperty(value = "相关附件groupName标识")
	@TableField("GROUP_NAME")
	private String groupName;
}
