/*
 *      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-06
 */
@Data
@TableName("T_SCC_ANSWER_ALARM")
@ApiModel(value = "SccAnswerAlarm对象", description = "安保指挥中心-联系接警记录")
public class SccAnswerAlarm extends FlowEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* ID
	*/
		@ApiModelProperty(value = "ID")
		@TableId("ID")
	private String id;
	/**
	* 对方联系人
	*/
		@ApiModelProperty(value = "对方联系人")
		@TableField("OPPOSITE_CONTACT")
	private String oppositeContact;
	/**
	* 记录人
	*/
		@ApiModelProperty(value = "记录人")
		@TableField("RECORDER")
	private String recorder;
	/**
	* 联系人电话
	*/
		@ApiModelProperty(value = "联系人电话")
		@TableField("CONTACTS_TEL")
	private String contactsTel;
	/**
	* 类型;1-接警记录、2-通话记录、3-其他
	*/
		@ApiModelProperty(value = "类型;1-接警记录、2-通话记录、3-其他")
		@TableField("TYPE")
	private String type;

	/**
	 * 数据状态（0-未推送，1-已推送，2-已办结）
	 */
	@ApiModelProperty(value = "数据状态（0-未推送，1-已推送，2-已办结）")
	@TableField("PUSH_STATE")
	private String pushState;

	/**
	 * 报警类型（1-外侵事件，2-设备问题）
	 */
	@ApiModelProperty(value = "报警类型（1-外侵事件，2-设备问题）")
	@TableField("ALARM_TYPE")
	private String alarmType;

	/**
	 * 处理结果
	 */
	@ApiModelProperty(value = "处理结果")
	@TableField("HANDLE_RESULTS")
	private String handleResults;

	/**
	* 联系单位
	*/
		@ApiModelProperty(value = "联系单位")
		@TableField("CONTACTS_COMPANY")
	private String contactsCompany;
	/**
	* 地点
	*/
		@ApiModelProperty(value = "地点")
		@TableField("PLACE")
	private String place;
	/**
	* 通话内容
	*/
		@ApiModelProperty(value = "通话内容")
		@TableField("CALL_CONTENT")
	private String callContent;
	/**
	* 处理情况
	*/
		@ApiModelProperty(value = "处理情况")
		@TableField("TREATMENT")
	private String treatment;
	/**
	* 备注
	*/
		@ApiModelProperty(value = "备注")
		@TableField("REMARK")
	private String remark;
	/**
	* 记录时间
	*/
		@ApiModelProperty(value = "记录时间")
		@TableField("ALARM_TIME")
		@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date alarmTime;
	/**
	* 逻辑删除标识符;0-删除，1-正常
	*/
		@ApiModelProperty(value = "逻辑删除标识符;0-删除，1-正常")
		@TableField("DEL_FLAG")
		@TableLogic
	private String delFlag;
	/**
	* 部门id
	*/
		@ApiModelProperty(value = "部门id")
		@TableField("DEPT_ID")
	private String deptId;

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

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

	/**
	 * 机构名称
	 */
	@ApiModelProperty(value = "机构名称")
	@TableField("dept_name")
	private String deptName;
}
