fd428910954f991109be69dbf3067745df1a595e.svn-base 3.06 KB
/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.reg.entity.base;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 项目内多幢房屋Entity
 * @author lj
 * @version 2018-03-13
 */
public class RegBaseFdcqxm extends DataEntity<RegBaseFdcqxm> {
	
	private static final long serialVersionUID = 1L;
	private String bdcdyh;		// 不动产单元号
	private String xmmc;		// 项目名称
	private String zh;		// 幢号
	private Integer zcs;		// 总层数
	private String ghyt;		// 规划用途
	private String fwjg;		// 房屋结构
	private Double jzmj;		// 建筑面积
	private Date jgsj;		// 竣工时间
	private Integer zts;		// 总套数
	private String isaudit;		// isaudit
	private String xmid;
	private String zid;
	private String ywh;
	private String ytmc;
	
	public RegBaseFdcqxm() {
		super();
	}

	public RegBaseFdcqxm(String id){
		super(id);
	}

	@Length(min=1, max=28, message="不动产单元号长度必须介于 1 和 28 之间")
	public String getBdcdyh() {
		return bdcdyh;
	}

	public void setBdcdyh(String bdcdyh) {
		this.bdcdyh = bdcdyh;
	}
	
	@Length(min=1, max=200, message="项目名称长度必须介于 1 和 200 之间")
	public String getXmmc() {
		return xmmc;
	}

	public void setXmmc(String xmmc) {
		this.xmmc = xmmc;
	}
	
	@Length(min=1, max=200, message="幢号长度必须介于 1 和 200 之间")
	public String getZh() {
		return zh;
	}

	public void setZh(String zh) {
		this.zh = zh;
	}
	
	public Integer getZcs() {
		return zcs;
	}

	public void setZcs(Integer zcs) {
		this.zcs = zcs;
	}
	
	@Length(min=0, max=2, message="规划用途长度必须介于 0 和 2 之间")
	public String getGhyt() {
		return ghyt;
	}

	public void setGhyt(String ghyt) {
		this.ghyt = ghyt;
	}
	
	@Length(min=0, max=2, message="房屋结构长度必须介于 0 和 2 之间")
	public String getFwjg() {
		return fwjg;
	}

	public void setFwjg(String fwjg) {
		this.fwjg = fwjg;
	}
	
	public Double getJzmj() {
		return jzmj;
	}

	public void setJzmj(Double jzmj) {
		this.jzmj = jzmj;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getJgsj() {
		return jgsj;
	}

	public void setJgsj(Date jgsj) {
		this.jgsj = jgsj;
	}
	
	public Integer getZts() {
		return zts;
	}

	public void setZts(Integer zts) {
		this.zts = zts;
	}
	
	@Length(min=0, max=2, message="isaudit长度必须介于 0 和 2 之间")
	public String getIsaudit() {
		return isaudit;
	}

	public void setIsaudit(String isaudit) {
		this.isaudit = isaudit;
	}

	public String getXmid() {
		return xmid;
	}

	public void setXmid(String xmid) {
		this.xmid = xmid;
	}

	public String getZid() {
		return zid;
	}

	public void setZid(String zid) {
		this.zid = zid;
	}

	public String getYwh() {
		return ywh;
	}

	public void setYwh(String ywh) {
		this.ywh = ywh;
	}

	public String getYtmc() {
		return ytmc;
	}

	public void setYtmc(String ytmc) {
		this.ytmc = ytmc;
	}
	
}