DmpDeviceInfo.java 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. package com.usky.iot.domain;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import lombok.Data;
  7. import lombok.EqualsAndHashCode;
  8. import java.io.Serializable;
  9. import java.time.LocalDateTime;
  10. import java.util.Date;
  11. /**
  12. * <p>
  13. * 设备信息表
  14. * </p>
  15. *
  16. * @author ya
  17. * @since 2022-10-08
  18. */
  19. @Data
  20. @EqualsAndHashCode(callSuper = false)
  21. @TableName("dmp_device")
  22. public class DmpDeviceInfo implements Serializable {
  23. private static final long serialVersionUID = 1L;
  24. /**
  25. * 主键id
  26. */
  27. @TableId(value = "id", type = IdType.AUTO)
  28. private Integer id;
  29. /**
  30. * 设备ID;设备注册时系统自动生成一个唯一编号
  31. */
  32. private String deviceId;
  33. /**
  34. * 设备名称
  35. */
  36. private String deviceName;
  37. /**
  38. * 设备类型
  39. */
  40. private Integer deviceType;
  41. /**
  42. * 产品ID
  43. */
  44. private Integer productId;
  45. /**
  46. * 物联网卡号
  47. */
  48. private String simCode;
  49. /**
  50. * 国际移动用户识别码
  51. */
  52. private String imsiCode;
  53. /**
  54. * 是否自动订阅
  55. */
  56. private Integer subscribeFlag;
  57. /**
  58. * 节点类型
  59. */
  60. private Integer nodeType;
  61. /**
  62. * 分组id
  63. */
  64. private Integer groupId;
  65. /**
  66. * 删除标识
  67. */
  68. private Integer deleteFlag;
  69. /**
  70. * 创建人
  71. */
  72. private String createdBy;
  73. /**
  74. * 创建时间
  75. */
  76. private LocalDateTime createdTime;
  77. /**
  78. * 更新人
  79. */
  80. private String updatedBy;
  81. /**
  82. * 更新时间
  83. */
  84. private LocalDateTime updatedTime;
  85. /**
  86. * 租户号
  87. */
  88. private Integer tenantId;
  89. /**
  90. * 单位编号
  91. */
  92. private String companyCode;
  93. /**
  94. * 安装位置
  95. */
  96. private String installAddress;
  97. /**
  98. * 业务状态;1:未激活,2:已激活,3:禁用
  99. */
  100. private Integer serviceStatus;
  101. /**
  102. * 产品编码
  103. */
  104. private String productCode;
  105. /**
  106. * 设备状态;1:在线,2:离线
  107. */
  108. @TableField(exist = false)
  109. private Integer deviceStatus;
  110. }