MeetingRoom.java 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. package com.usky.meeting.domain;
  2. import java.time.LocalDateTime;
  3. import java.io.Serializable;
  4. import com.baomidou.mybatisplus.annotation.TableField;
  5. import com.baomidou.mybatisplus.annotation.TableId;
  6. import com.baomidou.mybatisplus.annotation.TableName;
  7. import com.fasterxml.jackson.annotation.JsonFormat;
  8. import lombok.Data;
  9. import lombok.EqualsAndHashCode;
  10. import javax.persistence.Entity;
  11. import javax.persistence.Id;
  12. import javax.persistence.ManyToOne;
  13. /**
  14. * <p>
  15. * 会议室表
  16. * </p>
  17. *
  18. * @author zyj
  19. * @since 2024-03-08
  20. */
  21. @Entity
  22. @Data
  23. @TableName("meeting_room")
  24. @EqualsAndHashCode(callSuper = false)
  25. public class MeetingRoom implements Serializable {
  26. private static final long serialVersionUID = 1L;
  27. @Id
  28. @TableId
  29. @JsonFormat(shape = JsonFormat.Shape.STRING)
  30. private Long roomId;
  31. /**
  32. * 会议室名称
  33. */
  34. private String roomName;
  35. /**
  36. * 所在楼层
  37. */
  38. @JsonFormat(shape = JsonFormat.Shape.STRING)
  39. private Long floorId;
  40. /**
  41. * 会议室简介
  42. */
  43. private String description;
  44. /**
  45. * 会议室图片
  46. */
  47. private String imgPath;
  48. /**
  49. * 容纳人数
  50. */
  51. private Integer capacity;
  52. /**
  53. * 会议室所在位置
  54. */
  55. private String position;
  56. /**
  57. * 维护人
  58. */
  59. private String maintainer;
  60. /**
  61. * 联系方式
  62. */
  63. private String contacts;
  64. /**
  65. * 备注
  66. */
  67. private String remark;
  68. /**
  69. * 会议室使用状态(0-未使用 1-使用中)
  70. */
  71. private Integer roomStatus;
  72. /**
  73. * 会议室预约状态(0-未预约 1-已预约)
  74. */
  75. private Integer reserveStatus;
  76. /**
  77. * 会议室状态(0.启用 1.停用)
  78. */
  79. private Integer status;
  80. /**
  81. * 会议室环境
  82. */
  83. private String environmental;
  84. /**
  85. * 最近一次使用时间(正在使用的会议室,在预约时间外延后一小时开发预约)
  86. */
  87. private LocalDateTime lastUseTime;
  88. /**
  89. * 创建者
  90. */
  91. private String createBy;
  92. /**
  93. * 更新者
  94. */
  95. private String updateBy;
  96. /**
  97. * 创建日期
  98. */
  99. private LocalDateTime createTime;
  100. /**
  101. * 更新时间
  102. */
  103. private LocalDateTime updateTime;
  104. /**
  105. * 是否需要审批(0-否 1-是)
  106. */
  107. private Integer isApprove;
  108. /**
  109. * 楼层信息
  110. */
  111. @ManyToOne
  112. @TableField(exist = false)
  113. private MeetingFloor meetingFloor;
  114. /**
  115. * 组织机构ID
  116. */
  117. private Integer deptId;
  118. /**
  119. * 租户ID
  120. */
  121. private Integer tenantId;
  122. }