MeetingDevice.java 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. package com.usky.meeting.domain;
  2. import java.time.LocalDateTime;
  3. import java.io.Serializable;
  4. import java.util.List;
  5. import com.baomidou.mybatisplus.annotation.TableField;
  6. import com.baomidou.mybatisplus.annotation.TableId;
  7. import com.baomidou.mybatisplus.annotation.TableName;
  8. import com.fasterxml.jackson.annotation.JsonFormat;
  9. import lombok.Data;
  10. import lombok.EqualsAndHashCode;
  11. import javax.persistence.Entity;
  12. import javax.persistence.Id;
  13. import javax.persistence.Transient;
  14. /**
  15. * <p>
  16. * 设备表
  17. * </p>
  18. *
  19. * @author zyj
  20. * @since 2024-03-08
  21. */
  22. @Data
  23. @Entity
  24. @EqualsAndHashCode(callSuper = false)
  25. public class MeetingDevice implements Serializable {
  26. private static final long serialVersionUID = 1L;
  27. @Id
  28. @TableId
  29. @JsonFormat(shape = JsonFormat.Shape.STRING)
  30. private Long deviceUuid;
  31. /**
  32. * 设备名称
  33. */
  34. private String deviceName;
  35. /**
  36. * 文件存储id(tool_local_storage)
  37. */
  38. @JsonFormat(shape = JsonFormat.Shape.STRING)
  39. private Long storageId;
  40. /**
  41. * 设备图片
  42. */
  43. private String imgPath;
  44. /**
  45. * 设备铭牌
  46. */
  47. private String nameplate;
  48. /**
  49. * 所属会议室
  50. */
  51. @JsonFormat(shape = JsonFormat.Shape.STRING)
  52. private Long roomId;
  53. /**
  54. * 登记时间
  55. */
  56. private LocalDateTime registerDate;
  57. /**
  58. * 维护人
  59. */
  60. private String maintainer;
  61. /**
  62. * 联系方式
  63. */
  64. private String contacts;
  65. /**
  66. * 备注
  67. */
  68. private String remark;
  69. /**
  70. * 安装位置
  71. */
  72. private String installAddress;
  73. /**
  74. * 创建者
  75. */
  76. private String createBy;
  77. /**
  78. * 更新者
  79. */
  80. private String updateBy;
  81. /**
  82. * 创建日期
  83. */
  84. private LocalDateTime createTime;
  85. /**
  86. * 更新时间
  87. */
  88. private LocalDateTime updateTime;
  89. /**
  90. * 组织机构ID
  91. */
  92. private Integer deptId;
  93. /**
  94. * 租户ID
  95. */
  96. private Integer tenantId;
  97. /**
  98. * 门禁设备主键id
  99. */
  100. private Integer egDeviceId;
  101. /**
  102. * 会议室信息
  103. */
  104. @Transient
  105. @TableField(exist = false)
  106. private MeetingRoom meetingRoom;
  107. /**
  108. * 门禁设备信息
  109. */
  110. @Transient
  111. @TableField(exist = false)
  112. private EgDevice egDevice;
  113. /**
  114. * 设备编号
  115. */
  116. private String deviceCode;
  117. /**
  118. * 设备IP
  119. */
  120. private String ipAddr;
  121. /**
  122. * 模板id
  123. */
  124. private Integer templateId;
  125. /**
  126. * 模板信息
  127. */
  128. @TableField(exist = false)
  129. private MeetingTemplate meetingTemplate;
  130. /**
  131. * 设备状态 0离线 1在线
  132. */
  133. private Integer deviceStatus;
  134. /**
  135. * 设备方向 1横屏 2竖屏
  136. */
  137. private Integer deviceDirection;
  138. }