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_entrance")
public class SasEntrance implements Serializable {

    private static final long serialVersionUID = 1L;

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

    private String name;

    private String villageCode;

    private String address;

    /** 设备id列表，逗号分隔 */
    private String deviceIds;

    private String picId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
