dd0dd69109e185a72cddf79a98883b5d45b9b687.svn-base 7.44 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.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

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

/**
 * 查封登记信息表单维护Entity
 * @author xuyg
 * @version 2015-10-28
 */
@XmlRootElement(name="QLF_QL_CFDJ")
public class RegBusCfdj extends DataEntity<RegBusCfdj> {
	
	private static final long serialVersionUID = 1L;
	private String ysdm;		// 要素代码
	private String bdcdyh;		// 不动产单元号
	private String ywh;		// 业务号
	private String cfjg;		// 查封机关
	private String cflx;		// 查封类型
	private String cfwj;		// 查封文件
	private String cfwh;		// 查封文号
	private Date cfqssj;		// 查封起始时间
	private Date cfjssj;		// 查封结束时间
	private String cffw;		// 查封范围
	private String qxdm;		// 区县代码
	private String djjg;		// 登记机构
	private String dbr;		// 登簿人
	private Date djsj;		// 登记时间
	private String jfywh;		// 解封业务号
	private String jfjg;		// 解封机关
	private String jfwj;		// 解封文件
	private String jfwh;		// 解封文号
	private String jfdbr;		// 解封登簿人
	private Date jfdjsj;		// 解封登记时间
	private String fj;		// 附记
	private String qszt;		// 权属状态
	private String djlx;
    private String veritydatazt = "0";
	private String veritydatamsg; 
	private String bz;		// 备注

	private String pjsnr;   //判决书内容
	
	@XmlTransient
	public String getDjlx() {
		return djlx;
	}

	public void setDjlx(String djlx) {
		this.djlx = djlx;
	}

	public RegBusCfdj() {
		super();
	}

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

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

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

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

	public void setYwh(String ywh) {
		this.ywh = ywh;
	}
	
	@Length(min=1, max=200, message="查封机关长度必须介于 1 和 200 之间")
	@XmlAttribute(name="CFJG")
	public String getCfjg() {
		return cfjg;
	}

	public void setCfjg(String cfjg) {
		this.cfjg = cfjg;
	}
	
	@Length(min=1, max=2, message="查封类型长度必须介于 1 和 2 之间")
	@XmlAttribute(name="CFLX")
	public String getCflx() {
		return cflx;
	}

	public void setCflx(String cflx) {
		this.cflx = cflx;
	}
	
	@Length(min=1, max=100, message="查封文件长度必须介于 1 和 100 之间")
	@XmlAttribute(name="CFWJ")
	public String getCfwj() {
		return cfwj;
	}

	public void setCfwj(String cfwj) {
		this.cfwj = cfwj;
	}
	
	@Length(min=1, max=50, message="查封文号长度必须介于 1 和 50 之间")
	@XmlAttribute(name="CFWH")
	public String getCfwh() {
		return cfwh;
	}

	public void setCfwh(String cfwh) {
		this.cfwh = cfwh;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@NotNull(message="查封起始时间不能为空")
	@XmlAttribute(name="CFQSSJ")
	@XmlJavaTypeAdapter(JaxbDateAdapter.class)
	public Date getCfqssj() {
		return cfqssj;
	}

	public void setCfqssj(Date cfqssj) {
		this.cfqssj = cfqssj;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@NotNull(message="查封结束时间不能为空")
	@XmlAttribute(name="CFJSSJ")
	@XmlJavaTypeAdapter(JaxbDateAdapter.class)
	public Date getCfjssj() {
		return cfjssj;
	}

	public void setCfjssj(Date cfjssj) {
		this.cfjssj = cfjssj;
	}
	
	@Length(min=0, max=200, message="查封范围长度必须介于 0 和 200 之间")
	@XmlAttribute(name="CFFW")
	public String getCffw() {
		return cffw;
	}

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

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

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

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

	public void setDjsj(Date djsj) {
		this.djsj = djsj;
	}
	
	@Length(min=0, max=20, message="解封业务号长度必须介于 0 和 20 之间")
	@XmlAttribute(name="JFYWH")
	public String getJfywh() {
		return jfywh;
	}

	public void setJfywh(String jfywh) {
		this.jfywh = jfywh;
	}
	
	@Length(min=0, max=200, message="解封机关长度必须介于 0 和 200 之间")
	@XmlAttribute(name="JFJG")
	public String getJfjg() {
		return jfjg;
	}

	public void setJfjg(String jfjg) {
		this.jfjg = jfjg;
	}
	
	@Length(min=0, max=100, message="解封文件长度必须介于 0 和 100 之间")
	@XmlAttribute(name="JFWJ")
	public String getJfwj() {
		return jfwj;
	}

	public void setJfwj(String jfwj) {
		this.jfwj = jfwj;
	}
	
	@Length(min=0, max=200, message="解封文号长度必须介于 0 和 200 之间")
	@XmlAttribute(name="JFWH")
	public String getJfwh() {
		return jfwh;
	}

	public void setJfwh(String jfwh) {
		this.jfwh = jfwh;
	}
	
	@Length(min=0, max=50, message="解封登簿人长度必须介于 0 和 50 之间")
	@XmlAttribute(name="JFDBR")
	public String getJfdbr() {
		return jfdbr;
	}

	public void setJfdbr(String jfdbr) {
		this.jfdbr = jfdbr;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@XmlAttribute(name="JFDJSJ")
	@XmlJavaTypeAdapter(JaxbDateAdapter.class)
	public Date getJfdjsj() {
		return jfdjsj;
	}

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

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

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

	public String getVeritydatazt() {
		return veritydatazt;
	}

	public void setVeritydatazt(String veritydatazt) {
		this.veritydatazt = veritydatazt;
	}

	public String getVeritydatamsg() {
		return veritydatamsg;
	}

	public void setVeritydatamsg(String veritydatamsg) {
		this.veritydatamsg = veritydatamsg;
	}

	public String getBz() {
		return bz;
	}

	public void setBz(String bz) {
		this.bz = bz;
	}

	public String getPjsnr() {
		return pjsnr;
	}

	public void setPjsnr(String pjsnr) {
		this.pjsnr = pjsnr;
	}
	
}