| | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonIgnore; |
| | | import com.sandu.ximon.dao.bo.BindEquipments; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.time.LocalDateTime; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * 灯杆表 |
| | | * |
| | | * @TableName pole |
| | | */ |
| | | @TableName(value ="pole") |
| | | @TableName(value = "pole") |
| | | @Data |
| | | public class Pole implements Serializable { |
| | | /** |
| | | * |
| | | * |
| | | */ |
| | | @TableId(type = IdType.AUTO) |
| | | private Long id; |
| | |
| | | * 灯杆名称 |
| | | */ |
| | | private String poleName; |
| | | |
| | | /** |
| | | * 设备类型 -1 虚拟灯杆 01 是CAT1 00 是MQTT串口主板 |
| | | */ |
| | | private Integer deviceType; |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | private Long userId; |
| | | |
| | | /** |
| | | * 客户id |
| | |
| | | private String deviceCode; |
| | | |
| | | /** |
| | | * 灯杆在线状态 |
| | | */ |
| | | private String onLineState; |
| | | |
| | | /** |
| | | * 绑定设备数量 |
| | | */ |
| | | private Integer bindingCount; |
| | | |
| | | /** |
| | | * 是否为中心 |
| | | */ |
| | | @JsonIgnore |
| | | private Integer centre; |
| | | |
| | | |
| | | /** |
| | | * 是否为中心 |
| | | */ |
| | | @TableField(exist = false) |
| | | private boolean Center = false; |
| | | |
| | | /** |
| | | * 创建时间 |
| | |
| | | private LocalDateTime createTime; |
| | | |
| | | /** |
| | | * |
| | | * |
| | | */ |
| | | private LocalDateTime updateTime; |
| | | |
| | | /** |
| | | * 灯杆设备的绑定情况 |
| | | */ |
| | | @TableField(exist = false) |
| | | private BindEquipments bindEquipments; |
| | | |
| | | @TableField(exist = false) |
| | | private static final long serialVersionUID = 1L; |
| | | } |