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_device")
public class SasDevice implements Serializable {

    private static final long serialVersionUID = 1L;

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

    private String deviceId;

    private Integer channel;

    private Integer deviceType;

    private String ipAddr;

    private String remoteIpcIpAddr;

    private String macAddr;

    private Integer port;

    private String username;

    private String password;

    private Boolean shield;

    private String villageCode;

    private String houseCode;

    private String address;

    private String gisId;

    private Integer videoProtocol;

    private Integer videoType;

    private String bindingIpc;

    private Boolean isBinding;

    private String videoGroupType;

    private String alarsasGroupType;

    private String videoSourceToken;

    private String note;

    private LocalDateTime triggerTime;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}

