package com.elephant.framework.galaxy.aroad.module.emergencyevent.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 事件处置表
 *
 * @author songwenjie
 * @date 2019-05-08 14:43:56
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("event_deal")
@EqualsAndHashCode(callSuper = true)
public class Evendeal extends Model<Evendeal> {
private static final long serialVersionUID = 1L;
  /**
   * 
   */
  @TableId(type = IdType.AUTO)
  private Integer id;
  /**
   * 事件id
   */
  private Integer eventId;
  /**
   * 处置内容
   */
  private String dealContent;
  /**
   * 处置类型： 0：下达指令 1：处置反馈
   */
  private Integer dealType;
  /**
   * 处置时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
  private Date dealTime;
  /**
   * 处置人id
   */
  private Integer userId;
  /**
   * 处置人
   */
  private String user;
  /**
   * 处理部门id
   */
  private Integer deptId;
  /**
   * 处理部门
   */
  private String dept;
}
