package com.aegis.emergency.alert.domain;

import java.util.Date;
import com.aegis.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 转警记录实体类 duty_alert_transfer
 * 
 * @author aegis
 */
@Getter
@Setter
@ToString(callSuper = true)
public class DutyAlertTransfer extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 转警记录ID */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 警情ID */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long alertId;

    /** 目标单位名称 */
    private String targetOrg;

    /** 联系人姓名 */
    private String contact;

    /** 联系电话 */
    private String mobile;

    /** 转警说明/原因 */
    private String transferDesc;

    /** 转警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date transferTime;

    /** 回执反馈内容 */
    private String feedback;

    /** 反馈时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date feedbackTime;

    /** 转警状态（枚举：{@link com.aegis.emergency.alert.constant.AlertTransferStatus}） */
    private String status;

    /** 备注 */
    private String remark;
}