ec267b00e6bb10072efe7a984a4144ab2f150e1f.svn-base 4.97 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-09
 */
@XmlRootElement(name="DJF_DJ_GD")
public class RegBusGd extends DataEntity<RegBusGd> {
	//xml QXDM="区县代码" 
	private static final long serialVersionUID = 1L;
	private String ywh;		// 业务号
	private String ysdm;		// 要素代码
	private String djdl;		// 登记大类
	private String djxl;		// 登记小类
	private String zl;		// 坐落
	private String qzhm;		// 权证号码
	private String jzh;		// 卷宗号
	private Integer wjjs;		// 文件件数
	private Integer zys;		// 总页数
	private String gdry;		// 归档人员
	private Date gdsj;		// 归档时间
	private String bz;		// 备注
	private String procInsId;		// 流程实例ID
	private Integer sh;
	private Integer gh;
	private Integer lh;
	private Integer ch;
	private Integer wh;
	private String dawz;
	private String dawzsxh;
	private String qllb;
	public RegBusGd() {
		super();
	}

	public String getDawzsxh() {
		return dawzsxh;
	}

	public void setDawzsxh(String dawzsxh) {
		this.dawzsxh = dawzsxh;
	}

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

	@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="YSDM")
	@Length(min=0, max=10, message="要素代码长度必须介于 0 和 10 之间")
	public String getYsdm() {
		return ysdm;
	}

	public void setYsdm(String ysdm) {
		this.ysdm = ysdm;
	}
	
	@XmlAttribute(name="DJDL")
	@Length(min=1, max=6, message="登记大类长度必须介于 1 和 6 之间")
	public String getDjdl() {
		return djdl;
	}

	public void setDjdl(String djdl) {
		this.djdl = djdl;
	}
	
	@XmlAttribute(name="DJXL")
	@Length(min=1, max=6, message="登记小类长度必须介于 1 和 6 之间")
	public String getDjxl() {
		return djxl;
	}

	public void setDjxl(String djxl) {
		this.djxl = djxl;
	}
	
	@XmlAttribute(name="ZL")
	@Length(min=0, max=200, message="坐落长度必须介于 0 和 200 之间")
	public String getZl() {
		return zl;
	}

	public void setZl(String zl) {
		this.zl = zl;
	}
	
	@XmlAttribute(name="QZHM")
	public String getQzhm() {
		return qzhm;
	}

	public void setQzhm(String qzhm) {
		this.qzhm = qzhm;
	}
	
	@XmlTransient
	@Length(min=0, max=50, message="卷宗号长度必须介于 0 和 50 之间")
	public String getJzh() {
		return jzh;
	}

	public void setJzh(String jzh) {
		this.jzh = jzh;
	}
	
	@XmlAttribute(name="WJJS")
	public Integer getWjjs() {
		return wjjs;
	}

	public void setWjjs(Integer wjjs) {
		this.wjjs = wjjs;
	}
	
	@XmlAttribute(name="ZYS")
	public Integer getZys() {
		return zys;
	}

	public void setZys(Integer zys) {
		this.zys = zys;
	}
	
	@XmlAttribute(name="GDRY")
	@Length(min=0, max=50, message="归档人员长度必须介于 0 和 50 之间")
	public String getGdry() {
		return gdry;
	}

	public void setGdry(String gdry) {
		this.gdry = gdry;
	}
	
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@NotNull(message="归档时间不能为空")
	@XmlAttribute(name="GDSJ")
	@XmlJavaTypeAdapter(JaxbDateAdapter.class)
	public Date getGdsj() {
		return gdsj;
	}

	public void setGdsj(Date gdsj) {
		this.gdsj = gdsj;
	}
	
	@XmlAttribute(name="BZ")
	@Length(min=0, max=300, message="备注长度必须介于 0 和 300 之间")
	public String getBz() {
		return bz;
	}

	public void setBz(String bz) {
		this.bz = bz;
	}
	
	@XmlTransient
	@Length(min=0, max=64, message="流程实例ID长度必须介于 0 和 64 之间")
	public String getProcInsId() {
		return procInsId;
	}

	public void setProcInsId(String procInsId) {
		this.procInsId = procInsId;
	}

	@XmlTransient
	public Integer getSh() {
		return sh;
	}

	public void setSh(Integer sh) {
		this.sh = sh;
	}

	@XmlTransient
	public Integer getGh() {
		return gh;
	}

	public void setGh(Integer gh) {
		this.gh = gh;
	}

	@XmlTransient
	public Integer getLh() {
		return lh;
	}

	public void setLh(Integer lh) {
		this.lh = lh;
	}

	@XmlTransient
	public Integer getCh() {
		return ch;
	}

	public void setCh(Integer ch) {
		this.ch = ch;
	}

	@XmlTransient
	public Integer getWh() {
		return wh;
	}

	public void setWh(Integer wh) {
		this.wh = wh;
	}

	@XmlTransient
	public String getDawz() {
		return dawz;
	}

	public void setDawz(String dawz) {
		this.dawz = dawz;
	}

	@XmlTransient
	public String getQllb() {
		return qllb;	
	}

	public void setQllb(String qllb) {
		this.qllb = qllb;
	}
}