51d8142638e7c29ce35e2e127dd218f966b38eae.svn-base 1.12 KB
/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.reg.entity.bus;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 房屋选择信息维护Entity
 * @author xuyg
 * @version 2015-11-15
 */
public class RegBusZhcchoiceinfo extends DataEntity<RegBusZhcchoiceinfo> {
	
	private static final long serialVersionUID = 1L;
	private String ywh;		// 业务号
	private String hid;		// 户ID
	private Integer hh;		// 户号
	
	public RegBusZhcchoiceinfo() {
		super();
	}

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

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

	public void setYwh(String ywh) {
		this.ywh = ywh;
	}
	
	@Length(min=0, max=64, message="户ID长度必须介于 0 和 64 之间")
	public String getHid() {
		return hid;
	}

	public void setHid(String hid) {
		this.hid = hid;
	}
	
	public Integer getHh() {
		return hh;
	}

	public void setHh(Integer hh) {
		this.hh = hh;
	}
	
}