12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- /**
- * Copyright (c) 2018 业主系统 All rights reserved.
- * <p>
- * https://www.yezhu.io
- * <p>
- * 版权所有,侵权必究!
- */
- package com.kioor.room.entity;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableName;
- import lombok.Data;
- import java.io.Serializable;
- /**
- * 房间
- *
- * @author Mark sunlightcs@gmail.com
- */
- @Data
- @TableName("tb_room")
- public class RoomEntity implements Serializable {
- /**
- * ID
- */
- @TableId
- private Long id;
- /**
- * 小区
- */
- private Long housingEstateId;
- /**
- * 楼栋
- */
- private Long buildingId;
- /**
- * 单元
- */
- private Long unitId;
- /**
- * 楼层
- */
- private Long floorId;
- /**
- * 房号
- */
- private Integer roomNum;
- /**
- * 备注
- */
- private String remark;
- public RoomEntity() {
- }
- public RoomEntity(Long id, Long housingEstateId, Long buildingId, Long unitId, Long floorId, Integer roomNum, String remark) {
- this.id = id;
- this.housingEstateId = housingEstateId;
- this.buildingId = buildingId;
- this.unitId = unitId;
- this.floorId = floorId;
- this.roomNum = roomNum;
- this.remark = remark;
- }
- }
|