package com.sandu.ximon.dao.domain;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
import com.sandu.ximon.dao.bo.BindEquipments;
|
import lombok.Data;
|
|
/**
|
* 灯杆表
|
*
|
* @TableName pole
|
*/
|
@TableName(value = "pole")
|
@Data
|
public class Pole implements Serializable {
|
/**
|
*
|
*/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 灯杆编号
|
*/
|
private Long poleCode;
|
|
/**
|
* 灯杆名称
|
*/
|
private String poleName;
|
|
/**
|
* 设备类型 01 是CAT1 00 是MQTT串口主板
|
*/
|
private Integer deviceType;
|
|
/**
|
*
|
*/
|
private Long userId;
|
|
/**
|
* 客户id
|
*/
|
private Long clientId;
|
|
/**
|
* 省
|
*/
|
private String province;
|
|
/**
|
* 市
|
*/
|
private String city;
|
|
/**
|
* 区
|
*/
|
private String region;
|
|
/**
|
* 详细地址
|
*/
|
private String address;
|
|
/**
|
* 经度
|
*/
|
private BigDecimal lon;
|
|
/**
|
* 纬度
|
*/
|
private BigDecimal lat;
|
|
/**
|
* 机器码
|
*/
|
private String deviceCode;
|
|
/**
|
* 灯杆在线状态
|
*/
|
private String onLineState;
|
|
/**
|
* 绑定设备数量
|
*/
|
private Integer bindingCount;
|
|
/**
|
* 创建时间
|
*/
|
private LocalDateTime createTime;
|
|
/**
|
*
|
*/
|
private LocalDateTime updateTime;
|
|
/**
|
* 灯杆设备的绑定情况
|
*/
|
@TableField(exist = false)
|
private BindEquipments bindEquipments;
|
|
@TableField(exist = false)
|
private static final long serialVersionUID = 1L;
|
}
|