package com.usky.sas.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * 实时电子巡检事件表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sas_patrol_event")
public class SasPatrolEvent implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "event_id", type = IdType.INPUT)
    private String eventId;

    private String deviceId;

    private Integer channel;

    private LocalDateTime triggerTime;

    private Integer eventCode;

    private String note;

    private String picId;

    private String gisId;

    private String relPerson;

    private String dealPerson;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Integer eventSystem;

    private String name;

    private Integer credentialType;

    private String credentialNo;

    private String userParasasId;

    private String typeName;
}

