/*
 *      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 com.baomidou.mybatisplus.annotation.TableName;
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_agency")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Agency对象", description = "Agency对象")
public class Agency extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 园区名称
	 */
	@ApiModelProperty(value = "园区名称")
	private String name;
	/**
	 * 所属省
	 */
	@ApiModelProperty(value = "所属省")
	private String regionProvince;
	/**
	 * 所属市
	 */
	@ApiModelProperty(value = "所属市")
	private String regionCity;
	/**
	 * 所属区
	 */
	@ApiModelProperty(value = "所属区")
	private String regionArea;
	/**
	 * 所属街道
	 */
	@ApiModelProperty(value = "所属街道")
	private String regionStreet;
	/**
	 * 详细地址
	 */
	@ApiModelProperty(value = "详细地址")
	private String address;
	/**
	 * 经度
	 */
	@ApiModelProperty(value = "经度")
	private String longitude;
	/**
	 * 纬度
	 */
	@ApiModelProperty(value = "纬度")
	private String latitude;
	/**
	 * 负责人名称
	 */
	@ApiModelProperty(value = "负责人名称")
	private String personName;
	/**
	 * 负责人联系方式
	 */
	@ApiModelProperty(value = "负责人联系方式")
	private String personPhone;
	/**
	 * 小区数量
	 */
	@ApiModelProperty(value = "小区数量")
	private Integer residentialCount;
	/**
	 * 楼栋数
	 */
	@ApiModelProperty(value = "楼栋数")
	private Integer buildingCount;
	/**
	 * 单元数量
	 */
	@ApiModelProperty(value = "单元数量")
	private Integer unitCount;
	/**
	 * 楼层数
	 */
	@ApiModelProperty(value = "楼层数")
	private Integer floorCount;
	/**
	 * 房间数量
	 */
	@ApiModelProperty(value = "房间数量")
	private Integer roomCount;
	/**
	 * 人员数量
	 */
	@ApiModelProperty(value = "人员数量")
	private Integer personCount;
	/**
	 * 车辆数量
	 */
	@ApiModelProperty(value = "车辆数量")
	private Integer carCount;
	/**
	 * 园区背景图
	 */
	@ApiModelProperty(value = "园区背景图")
	private String pic;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;
	/**
	 * 机构路径
	 */
	@ApiModelProperty(value = "机构路径")
	private String orgPosition;
	/**
	 * 旧平台id
	 */
	@ApiModelProperty(value = "旧平台id")
	private String oldId;

	/**
	 * 租户密码
	 */
	@ApiModelProperty(value = "租户Id")
	private String TenantId;

	/**
	 * 租户密码
	 */
	@ApiModelProperty(value = "租户密码")
	private String tenantPassword;

	/**
	 * 边界路径
	 */
	@ApiModelProperty(value = "边界路径")
	private String boundaryPath;


	@ApiModelProperty(value = "单体应用的主键id")
	private Long gridId;

	/**
	 * 1、社区
	 * 2、园区
	 */
	@ApiModelProperty(value = "园区类型")
	private Integer agencyType;

	@ApiModelProperty(value = "园区描述")
	private String description;

}
