package com.supervision.web.peopleGateManage.entity; import lombok.Data; import java.time.LocalDateTime; import java.util.Date; @Data public class Device { private Long id; // 系统内部设备ID private String serialNumber; // 设备序列号(唯一) private String name; // 设备名称 private String type; // 设备类型:carDoor, peopleDoor private String location; // 设备位置描述 private String ip; // 设备IP private Integer port; // 端口 private String account; // 登录账号 private String password; // 登录密码 private Boolean isConnect; // 是否已连接 private String status; // 在线状态:online/offline private String firmwareVersion; // 固件版本 private String doors; // 门体信息JSON字符串 private String channels; // 摄像头信息JSON字符串 private String notes; // 备注信息 private Date createTime; // 创建时间 private Date updateTime; // 更新时间 }