332c4930eb25bcb88456bdb14779158ed7e1d65e.svn-base 5.83 KB
/**
 * Copyright © 2015-2018 ODM All rights reserved.
 */
package com.thinkgem.jeesite.modules.reg.entity.bus;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.common.utils.xml.JaxbDateTimeAdapter;

/**
 * 土地所有权表单维护Entity
 * @author xuyg
 * @version 2015-10-11
 */
@XmlRootElement(name="QLF_QL_TDSYQ")
public class RegBusTdsyq extends DataEntity<RegBusTdsyq> {
	
	private static final long serialVersionUID = 1L;
	private String ysdm;		// 要素代码
	private String zddm;		// 宗地代码
	private String bdcdyh;		// 不动产单元号
	private String ywh;		// 业务号
	private String qllx;		// 权利类型
	private String djlx;		// 登记类型
	private String djyy;		// 登记原因
	private String mjdw;		// 面积单位
	private Double nydmj;		// 农用地面积
	private Double gdmj;		// 耕地面积
	private Double ldmj;		// 林地面积
	private Double cdmj;		// 草地面积
	private Double qtnydmj;		// 其它农用地面积
	private Double jsydmj;		// 建设用地面积
	private Double wlydmj;		// 未利用地面积
	private String bdcqzh;		// 不动产权证号
	private String qxdm;		// 区县代码
	private String djjg;		// 登记机构
	private String dbr;		// 登簿人
	private Date djsj;		// 登记时间
	private String fj;		// 附记
	private String qszt;		// 权属状态
	
	public RegBusTdsyq() {
		super();
	}

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

	@XmlAttribute(name="YSDM")
	@Length(min=0, max=10, message="要素代码长度必须介于 0 和 10 之间")
	public String getYsdm() {
		return ysdm;
	}

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

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

	public void setBdcdyh(String bdcdyh) {
		this.bdcdyh = bdcdyh;
	}
	
	@XmlAttribute(name="YWH")
	@Length(min=0, max=20, message="业务号长度必须介于 0 和 20 之间")
	public String getYwh() {
		return ywh;
	}

	public void setYwh(String ywh) {
		this.ywh = ywh;
	}
	
	@XmlAttribute(name="QLLX")
	@Length(min=0, max=2, message="权利类型长度必须介于 0 和 2 之间")
	public String getQllx() {
		return qllx;
	}

	public void setQllx(String qllx) {
		this.qllx = qllx;
	}
	
	@XmlAttribute(name="DJLX")
	@Length(min=0, max=6, message="登记类型长度必须介于 0 和 6 之间")
	public String getDjlx() {
		return djlx;
	}

	public void setDjlx(String djlx) {
		this.djlx = djlx;
	}
	
	@XmlAttribute(name="DJYY")
	@Length(min=1, max=500, message="登记原因长度必须介于 1 和 500 之间")
	public String getDjyy() {
		return djyy;
	}

	public void setDjyy(String djyy) {
		this.djyy = djyy;
	}
	
	@XmlAttribute(name="MJDW")
	@Length(min=0, max=2, message="面积单位长度必须介于 0 和 2 之间")
	public String getMjdw() {
		return mjdw;
	}

	public void setMjdw(String mjdw) {
		this.mjdw = mjdw;
	}
	
	@XmlAttribute(name="NYDMJ")
	public Double getNydmj() {
		return nydmj;
	}

	public void setNydmj(Double nydmj) {
		this.nydmj = nydmj;
	}
	
	@XmlAttribute(name="GDMJ")
	public Double getGdmj() {
		return gdmj;
	}

	public void setGdmj(Double gdmj) {
		this.gdmj = gdmj;
	}
	
	@XmlAttribute(name="LDMJ")
	public Double getLdmj() {
		return ldmj;
	}

	public void setLdmj(Double ldmj) {
		this.ldmj = ldmj;
	}
	
	@XmlAttribute(name="CDMJ")
	public Double getCdmj() {
		return cdmj;
	}

	public void setCdmj(Double cdmj) {
		this.cdmj = cdmj;
	}
	
	@XmlAttribute(name="QTNYDMJ")
	public Double getQtnydmj() {
		return qtnydmj;
	}

	public void setQtnydmj(Double qtnydmj) {
		this.qtnydmj = qtnydmj;
	}
	
	@XmlAttribute(name="JSYDMJ")
	public Double getJsydmj() {
		return jsydmj;
	}

	public void setJsydmj(Double jsydmj) {
		this.jsydmj = jsydmj;
	}
	
	@XmlAttribute(name="WLYDMJ")
	public Double getWlydmj() {
		return wlydmj;
	}

	public void setWlydmj(Double wlydmj) {
		this.wlydmj = wlydmj;
	}
	
	@XmlAttribute(name="BDCQZH")
	public String getBdcqzh() {
		return bdcqzh;
	}

	public void setBdcqzh(String bdcqzh) {
		this.bdcqzh = bdcqzh;
	}
	
	@XmlAttribute(name="QXDM")
	@Length(min=0, max=6, message="区县代码长度必须介于 0 和 6 之间")
	public String getQxdm() {
		return qxdm;
	}

	public void setQxdm(String qxdm) {
		this.qxdm = qxdm;
	}
	
	@XmlAttribute(name="DJJG")
	@Length(min=0, max=200, message="登记机构长度必须介于 0 和 200 之间")
	public String getDjjg() {
		return djjg;
	}

	public void setDjjg(String djjg) {
		this.djjg = djjg;
	}
	
	@XmlAttribute(name="DBR")
	@Length(min=0, max=50, message="登簿人长度必须介于 0 和 50 之间")
	public String getDbr() {
		return dbr;
	}

	public void setDbr(String dbr) {
		this.dbr = dbr;
	}
	
	
	@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
	@XmlAttribute(name="DJSJ")
//	@NotNull(message="登记时间不能为空")
	@XmlJavaTypeAdapter(JaxbDateTimeAdapter.class)
	public Date getDjsj() {
		return djsj;
	}

	public void setDjsj(Date djsj) {
		this.djsj = djsj;
	}
	
	@XmlAttribute(name="FJ")
	@Length(min=0, max=300, message="附记长度必须介于 0 和 300 之间")
	public String getFj() {
		return fj;
	}

	
	public void setFj(String fj) {
		this.fj = fj;
	}
	
	@XmlAttribute(name="QSZT")
	@Length(min=0, max=2, message="权属状态长度必须介于 0 和 2 之间")
	public String getQszt() {
		return qszt;
	}

	public void setQszt(String qszt) {
		this.qszt = qszt;
	}
	
}