RoomEntity.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /**
  2. * Copyright (c) 2018 业主系统 All rights reserved.
  3. * <p>
  4. * https://www.yezhu.io
  5. * <p>
  6. * 版权所有,侵权必究!
  7. */
  8. package com.kioor.room.entity;
  9. import com.baomidou.mybatisplus.annotation.TableId;
  10. import com.baomidou.mybatisplus.annotation.TableName;
  11. import lombok.Data;
  12. import java.io.Serializable;
  13. /**
  14. * 房间
  15. *
  16. * @author Mark sunlightcs@gmail.com
  17. */
  18. @Data
  19. @TableName("tb_room")
  20. public class RoomEntity implements Serializable {
  21. /**
  22. * ID
  23. */
  24. @TableId
  25. private Long id;
  26. /**
  27. * 小区
  28. */
  29. private Long housingEstateId;
  30. /**
  31. * 楼栋
  32. */
  33. private Long buildingId;
  34. /**
  35. * 单元
  36. */
  37. private Long unitId;
  38. /**
  39. * 楼层
  40. */
  41. private Long floorId;
  42. /**
  43. * 房号
  44. */
  45. private Integer roomNum;
  46. /**
  47. * 备注
  48. */
  49. private String remark;
  50. public RoomEntity() {
  51. }
  52. public RoomEntity(Long id, Long housingEstateId, Long buildingId, Long unitId, Long floorId, Integer roomNum, String remark) {
  53. this.id = id;
  54. this.housingEstateId = housingEstateId;
  55. this.buildingId = buildingId;
  56. this.unitId = unitId;
  57. this.floorId = floorId;
  58. this.roomNum = roomNum;
  59. this.remark = remark;
  60. }
  61. }