5070b4d92df4633008b1acf6142de246d09ca3e4.svn-base 6.9 KB
/**
 * Copyright © 2015-2018 ODM All rights reserved.
 */
package com.thinkgem.jeesite.modules.reg.entity.base;

import java.util.Date;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.validator.constraints.Length;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.google.common.collect.Lists;
import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 自然幢信息维护Entity
 * @author xuyg
 * @version 2015-10-28
 */
@XmlRootElement
public class RegBaseZrz extends DataEntity<RegBaseZrz> {
	
	private static final long serialVersionUID = 1L;
	private Long bsm;		// 标识码
	private String ysdm;		// 要素代码
	private String bdcdyh;		// 不动产单元号
	private String zddm;		// 宗地代码
	private String zrzh;		// 自然幢号
	private String xmmc;		// 项目名称
	private String gzwmc;		// 构筑物名称
	private Date jgrq;		// 竣工日期
	private double jzwgd;		// 建筑物高度
	private double zzdmj;		// 幢占地面积
	private double zydmj;		// 幢用地面积
	private double ycjzmj;		// 预测建筑面积
	private double scjzmj;		// 实测建筑面积
	private int zcs;		// 总层数
	private String dscs;		// 地上层数
	private String dxcs;		// 地下层数
	private double dxsd;		// 地下深度
	private String ghyt;		// 规划用途
	private String fwjg;		// 房屋结构
	private int zts;		// 总套数
	private String jzwjbyt;		// 建筑物基本用途
	private String dah;		// 档案号
	private String bz;		// 备注
	private String zt;		// 状态
	private String zdftfs;  //宗地分摊方式
	private String xmid;  //项目ID
	private String isaudit; //审核  0未审核【反审核】【可以修改】  1已审核【审核】【不可以修改】  2已引用【不可以修改】
	private String updater; //修改人
	private String zb;     //界址点坐标
	private String ytmc;     //界址点坐标
	private String btzrzbm;     //界址点坐标
	
	private String zsxid; //一窗幢属性id
	

	public String getBtzrzbm() {
		return btzrzbm;
	}

	public void setBtzrzbm(String btzrzbm) {
		this.btzrzbm = btzrzbm;
	}

	private List<RegBaseZbinfoZrz> regBaseZbinfoZrzList = Lists.newArrayList();
	
	public RegBaseZrz() {
		super();
	}

	public RegBaseZrz(String id){
		super(id);
	}
	
	public List<RegBaseZbinfoZrz> getRegBaseZbinfoZrzList() {
		return regBaseZbinfoZrzList;
	}

	public void setRegBaseZbinfoZrzList(List<RegBaseZbinfoZrz> regBaseZbinfoZrzList) {
		this.regBaseZbinfoZrzList = regBaseZbinfoZrzList;
	}

	public String getYtmc() {
		return ytmc;
	}

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

	public Long getBsm() {
		return bsm;
	}

	public void setBsm(Long bsm) {
		this.bsm = bsm;
	}
	
	@Length(min=0, max=10, message="要素代码长度必须介于 0 和 10 之间")
	public String getYsdm() {
		return ysdm;
	}

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

	public void setBdcdyh(String bdcdyh) {
		this.bdcdyh = bdcdyh;
	}
	
	@Length(min=0, max=19, message="宗地代码长度必须介于 1 和 19 之间")
	public String getZddm() {
		return zddm;
	}

	public void setZddm(String zddm) {
		this.zddm = zddm;
	}
	
	@Length(min=1, max=24, message="自然幢号长度必须介于 1 和 24 之间")
	public String getZrzh() {
		return zrzh;
	}

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

	public void setXmmc(String xmmc) {
		this.xmmc = xmmc;
	}
	
	@Length(min=0, max=100, message="构筑物名称长度必须介于 0 和 100 之间")
	public String getGzwmc() {
		return gzwmc;
	}

	public void setGzwmc(String gzwmc) {
		this.gzwmc = gzwmc;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	//@NotNull(message="竣工日期不能为空")
	public Date getJgrq() {
		return jgrq;
	}

	public void setJgrq(Date jgrq) {
		this.jgrq = jgrq;
	}
	
	public double getJzwgd() {
		return jzwgd;
	}

	public void setJzwgd(double jzwgd) {
		this.jzwgd = jzwgd;
	}
	
	public double getZzdmj() {
		return zzdmj;
	}

	public void setZzdmj(double zzdmj) {
		this.zzdmj = zzdmj;
	}
	
	public double getZydmj() {
		return zydmj;
	}

	public void setZydmj(double zydmj) {
		this.zydmj = zydmj;
	}
	
	public double getYcjzmj() {
		return ycjzmj;
	}

	public void setYcjzmj(double ycjzmj) {
		this.ycjzmj = ycjzmj;
	}
	
	public double getScjzmj() {
		return scjzmj;
	}

	public void setScjzmj(double scjzmj) {
		this.scjzmj = scjzmj;
	}
	
	public int getZcs() {
		return zcs;
	}

	public void setZcs(int zcs) {
		this.zcs = zcs;
	}
	
	public String getDscs() {
		return dscs;
	}

	public void setDscs(String dscs) {
		this.dscs = dscs;
	}
	
	public String getDxcs() {
		return dxcs;
	}

	public void setDxcs(String dxcs) {
		this.dxcs = dxcs;
	}
	
	public double getDxsd() {
		return dxsd;
	}

	public void setDxsd(double dxsd) {
		this.dxsd = dxsd;
	}
	
	@Length(min=0, max=4, message="规划用途长度必须介于 0 和 4 之间")
	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 int getZts() {
		return zts;
	}

	public void setZts(int zts) {
		this.zts = zts;
	}
	
	@Length(min=0, max=200, message="建筑物基本用途长度必须介于 0 和 200 之间")
	public String getJzwjbyt() {
		return jzwjbyt;
	}

	public void setJzwjbyt(String jzwjbyt) {
		this.jzwjbyt = jzwjbyt;
	}
	
	@Length(min=0, max=50, message="档案号长度必须介于 0 和 50 之间")
	public String getDah() {
		return dah;
	}

	public void setDah(String dah) {
		this.dah = dah;
	}
	
	@Length(min=0, max=200, message="备注长度必须介于 0 和 200 之间")
	public String getBz() {
		return bz;
	}

	public void setBz(String bz) {
		this.bz = bz;
	}
	
	@Length(min=0, max=2, message="状态长度必须介于 0 和 2 之间")
	public String getZt() {
		return zt;
	}

	public void setZt(String zt) {
		this.zt = zt;
	}
	
	public String getZdftfs() {
		return zdftfs;
	}

	public void setZdftfs(String zdftfs) {
		this.zdftfs = zdftfs;
	}

	public String getXmid() {
		return xmid;
	}

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

	public String getIsaudit() {
		return isaudit;
	}

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

	public String getUpdater() {
		return updater;
	}

	public void setUpdater(String updater) {
		this.updater = updater;
	}
	public String getZb() {
		return zb;
	}

	public void setZb(String zb) {
		this.zb = zb;
	}

	/**
	 * @return the zsxid
	 */
	public String getZsxid() {
		return zsxid;
	}

	/**
	 * @param zsxid the zsxid to set
	 */
	public void setZsxid(String zsxid) {
		this.zsxid = zsxid;
	}

	
}