c13d3ea6bfb9ef921bed15b3d4bd3f23cfef3448.svn-base 1.5 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 com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 户信息变化情况Entity
 * @author xuyg
 * @version 2016-05-25
 */
public class RegBaseHbhqk extends DataEntity<RegBaseHbhqk> {
	
	private static final long serialVersionUID = 1L;
	private String ywh;		// 当前变更业务号
	private String bdcdyh;		// 不动产单元号
	private String hid;		// 变更后户ID
	private String oldhid;		// 变更前户ID
	
	public RegBaseHbhqk() {
		super();
	}

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

	@Length(min=0, max=11, message="当前变更业务号长度必须介于 0 和 11 之间")
	public String getYwh() {
		return ywh;
	}

	public void setYwh(String ywh) {
		this.ywh = ywh;
	}
	
	@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=64, message="变更后户ID长度必须介于 0 和 64 之间")
	public String getHid() {
		return hid;
	}

	public void setHid(String hid) {
		this.hid = hid;
	}
	
	@Length(min=0, max=64, message="变更前户ID长度必须介于 0 和 64 之间")
	public String getOldhid() {
		return oldhid;
	}

	public void setOldhid(String oldhid) {
		this.oldhid = oldhid;
	}
	
}