package cn.com.countrygarden.bi.main.model.mediaResource;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

@Table(name="t_media_comm_info")
@Data
public class BasicInfo {
	
	@Id
	private Long commInfoId;
	private String basicsId; 			//区域主键
	private String organCode;			//区域编码
	private String organName;			//物业区域
	private String commId;				//区域id
	private String commName;			//物业项目
	private String commAddress;			//项目地址
	private String developUnitName;		//项目开发主体
	private String province;			//省级行政区
	private String city;				//地级行政区
	private String county;				//县级行政区
	
	@JsonFormat(pattern = "yyyy-MM-dd") 
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date actualProperty;		//实际收楼日期 (首次)
	private int planNumber;				//规划户数  = 接管户数
	private int takeNumber;				//接管户数   = 入住户数
	private BigDecimal occupancyRate;	//入住率
	private int upCarPark;				//地上车位
	private int downCarPark;			//地下车位
	private int elevatorDoorNumber;		//电梯门洞数 
	private int elevatorRoomNumber;		//电梯房数量 = 电梯洋房
	private int elevatorAmount;		    //电梯总数 
	private int stairsRoomNumber;		//步梯房数量 = 步梯洋房
	private int stairsDoorNumber;		//步梯门洞数(个)
	private int villaAmount;			//别墅数量 = 别墅
	
	
	// 12/26
	private String  plannedOpen;				//计划开盘时间(首期)
	private String  actualOpen;					//实际开盘时间(首期)
	private String  contractProperty;			//合同收楼时间(首批)
	private String  propertyName;				//项目营业执照的物业公司全称
	private String  developmentSubjectNames;	//开发主体（房产核算全称）
	private String  propertyForm;				//物业业态
	private String  developmentState;			//项目开发状态
	private String  takeoverState;				//接管状态
	private String  actualEnterTime;			//实际进驻时间
	private String  stateProperty;				//收楼状态
	private BigDecimal  totalResidentialArea;	//建筑面积（接管住宅建筑面积） 
	//未找到
	private BigDecimal  realityArea;			//实际交付面积（已收楼住宅建筑面积）
	private int  takeRoomNumber;				//收楼户数
	private int  oftenNumber;					//常住户数
	private int  passengerElevatorNumber;		//载人电梯数量(部)
	private int  freightElevatorNumber  ;		//货物电梯数量(部)
	private int  apartment;					//公寓
	
	// 12/26
	
	
	private int sort;					//排序
	private int version;					
	private int isDelete;
	private Date createTime;			
	private String createBy;
	private String createByName;
	private String modBy;
	private Date modTime;			
	private String modByName;
	
}
