/*
 *      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.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

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

	private static final long serialVersionUID = 1L;

	/**
	* 房间名称
	*/
		@ApiModelProperty(value = "房间名称")
		private String name;
	/**
	* 园区id
	*/
		@ApiModelProperty(value = "园区id")
		@JsonSerialize(using= ToStringSerializer.class)
		private Long agencyId;
	/**
	* 园区名称
	*/
		@ApiModelProperty(value = "园区名称")
		private String agencyName;
	/**
	* 小区id
	*/
		@ApiModelProperty(value = "小区id")
		@JsonSerialize(using= ToStringSerializer.class)
		private Long residentialId;
	/**
	* 小区名称
	*/
		@ApiModelProperty(value = "小区名称")
		private String residentialName;
	/**
	* 楼栋id
	*/
		@ApiModelProperty(value = "楼栋id")
		@JsonSerialize(using= ToStringSerializer.class)
		private Long buildingId;
	/**
	* 楼栋名称
	*/
		@ApiModelProperty(value = "楼栋名称")
		private String buildingName;
	/**
	* 单元id
	*/
		@ApiModelProperty(value = "单元id")
		@JsonSerialize(using= ToStringSerializer.class)
		private Long unitId;
	/**
	* 单元名称
	*/
		@ApiModelProperty(value = "单元名称")
		private String unitName;
	/**
	* 楼层id
	*/
		@ApiModelProperty(value = "楼层id")
		@JsonSerialize(using= ToStringSerializer.class)
		private Long floorId;
	/**
	* 楼层名称
	*/
		@ApiModelProperty(value = "楼层名称")
		private String floorName;
	/**
	* 房屋面积m2
	*/
		@ApiModelProperty(value = "房屋面积m2")
		private BigDecimal area;
	/**
	* 户型
	*/
		@ApiModelProperty(value = "户型")
		private String houseType;
	/**
	* 房屋朝向
	*/
		@ApiModelProperty(value = "房屋朝向")
		private String orientation;
	/**
	* 住户数
	*/
		@ApiModelProperty(value = "住户数")
		private Integer userCount;
	/**
	* 备注
	*/
		@ApiModelProperty(value = "备注")
		private String remark;
	/**
	* 旧平台id
	*/
		@ApiModelProperty(value = "旧平台id")
		private Long oldId;
	/**
	* 机构路径
	*/
		@ApiModelProperty(value = "机构路径")
		private String orgPosition;

	/**
	 * 租户id
	 */
	@ApiModelProperty(value = "租户id")
	private String tenantId;


}
