/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.community.room.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 房间表实体类
 *
 * @author BladeX
 * @since 2020-10-18
 */
@Data
@TableName("estate_room")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Room对象", description = "房间表")
public class Room extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 旧平台id
	 */
	@ApiModelProperty(value = "旧平台id")
	private Long oldId;
	/**
	 * 所属楼栋id
	 */
	@ApiModelProperty(value = "所属楼栋id")
	private Long buildingId;

	/**
	 * 所属楼栋名称
	 */
	@ApiModelProperty(value = "所属楼栋名称")
	private String buildingName;

	/**
	 * 所属楼层id
	 */
	@ApiModelProperty(value = "所属楼层id")
	private Long floorId;

	/**
	 * 所属楼层名称
	 */
	@ApiModelProperty(value = "所属楼层名称")
	private String floorName;



	/**
	* 房间名称
	*/
		@ApiModelProperty(value = "房间名称")
		private String name;
	/**
	* 门牌号-限制数字，单元楼下唯一
	*/
		@ApiModelProperty(value = "门牌号-限制数字，单元楼下唯一  ")
		private String houseNumber;
	/**
	* 所属单元id
	*/
		@ApiModelProperty(value = "所属单元id")
		private Long unitId;
	/**
	* 所属单元名称
	*/
		@ApiModelProperty(value = "所属单元名称")
		private String unitName;
	/**
	* 所属社区id
	*/
		@ApiModelProperty(value = "所属单元id")
		private Long agencyId;
	/**
	* 所属单元名称
	*/
		@ApiModelProperty(value = "所属社区名称")
		private String agencyName;
	/**
	* 存储位置（通过该字段快速查询，所有的子节点）
	*/
		@ApiModelProperty(value = "存储位置（通过该字段快速查询，所有的子节点）")
		private String orgPosition;
	/**
	* 物业路径
	*/
		@ApiModelProperty(value = "物业路径")
		private String estatePosition;
	/**
	* 房屋面积m2
	*/
		@ApiModelProperty(value = "房屋面积m2")
		private Double area;
	/**
	* 户型
	*/
		@ApiModelProperty(value = "户型")
		private String houseType;
	/**
	* 楼层
	*/
		@ApiModelProperty(value = "楼层")
		private String floor;
	/**
	* 装饰
	*/
		@ApiModelProperty(value = "装饰")
		private String ornament;
	/**
	* 房屋朝向
	*/
		@ApiModelProperty(value = "房屋朝向")
		private String orientation;
	/**
	* i_user_number
	*/
		@ApiModelProperty(value = "i_user_number")
		private Integer userNumber;
	/**
	* 序号
	*/
		@ApiModelProperty(value = "序号")
		private Integer serial;
	/**
	* 备注
	*/
		@ApiModelProperty(value = "备注")
		private String remark;
	/**
	* 所属小区id
	*/
		@ApiModelProperty(value = "所属小区id")
		private Long residentialId;
	/**
	* 所属小区名称
	*/
		@ApiModelProperty(value = "所属小区名称")
		private String residentialName;
	/**
	* 根机构Id
	*/
		@ApiModelProperty(value = "根机构Id")
		private String rootOrgId;
	/**
	* 创建人账号ID
	*/
		@ApiModelProperty(value = "创建人账号ID")
		private Long createAccountId;

		private String tenantId;

	@ApiModelProperty("集约平台id")
	private String inhabitantId;
}
