1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- package com.bizmatics.model;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableField;
- import com.baomidou.mybatisplus.annotation.TableId;
- import java.time.LocalDateTime;
- import java.io.Serializable;
- import java.util.Date;
- import lombok.Data;
- import lombok.EqualsAndHashCode;
- import lombok.experimental.Accessors;
- /**
- * <p>
- *
- * </p>
- *
- * @author ya
- * @since 2021-07-07
- */
- @Data
- @EqualsAndHashCode(callSuper = false)
- @Accessors(chain = true)
- public class Device implements Serializable {
- private static final long serialVersionUID=1L;
- /**
- * 设备信息表ID
- */
- @TableId(value = "id", type = IdType.AUTO)
- private Integer id;
- /**
- * 设备编号
- */
- private String deviceCode;
- /**
- * 设备名称
- */
- private String deviceName;
- /**
- * 楼层
- */
- private String floor;
- /**
- * 所属站点
- */
- private Integer siteId;
- /**
- * 设备安装位置
- */
- private String deviceAddress;
- /**
- * 1:183用电设备,2:视频监控设备,3:171用电设备,4:173用电设备,5:158智能网关,6:其他
- */
- private String deviceType;
- /**
- * 安装时间
- */
- private Date installTime;
- /**
- * 创建人
- */
- private String creator;
- /**
- * 使能标识(0 不生效,1生效)
- */
- private Integer enable;
- /**
- * sim卡号
- */
- private String sim;
- @TableField(exist = false)
- private Integer deviceStatus;
- /**
- * 站点里面字段信息
- */
- @TableField(exist = false)
- private String installedCapacity;
- }
|