aee7dfdcd4233b7b21a5cbcec701e36692437f25.svn-base 2.17 KB
/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.sumdata.entity.datatable;

import org.hibernate.validator.constraints.Length;

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

/**
 * s_reg_base_zbinfoEntity
 * @author xuyg
 * @version 2017-03-07
 */
public class SRegBaseZbinfo extends DataEntity<SRegBaseZbinfo> {
	
	private static final long serialVersionUID = 1L;
	private String sareaCode;		// s_area_code
	private String mainId;		// main_id
	private String mainZid;		// main_zid
	private String zbdmc;		// zbdmc
	private String zbx;		// zbx
	private String zby;		// zby
	private Integer sort;		// sort
	private String qxid;		// qxid
	public String getQxid() {
		return qxid;
	}

	public void setQxid(String qxid) {
		this.qxid = qxid;
	}

	public SRegBaseZbinfo() {
		super();
	}

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

	@Length(min=1, max=6, message="s_area_code长度必须介于 1 和 6 之间")
	public String getSareaCode() {
		return sareaCode;
	}

	public void setSareaCode(String sareaCode) {
		this.sareaCode = sareaCode;
	}
	
	@Length(min=0, max=64, message="main_id长度必须介于 0 和 64 之间")
	public String getMainId() {
		return mainId;
	}

	public void setMainId(String mainId) {
		this.mainId = mainId;
	}
	
	@Length(min=0, max=64, message="main_zid长度必须介于 0 和 64 之间")
	public String getMainZid() {
		return mainZid;
	}

	public void setMainZid(String mainZid) {
		this.mainZid = mainZid;
	}
	
	@Length(min=0, max=100, message="zbdmc长度必须介于 0 和 100 之间")
	public String getZbdmc() {
		return zbdmc;
	}

	public void setZbdmc(String zbdmc) {
		this.zbdmc = zbdmc;
	}
	
	@Length(min=0, max=50, message="zbx长度必须介于 0 和 50 之间")
	public String getZbx() {
		return zbx;
	}

	public void setZbx(String zbx) {
		this.zbx = zbx;
	}
	
	@Length(min=0, max=50, message="zby长度必须介于 0 和 50 之间")
	public String getZby() {
		return zby;
	}

	public void setZby(String zby) {
		this.zby = zby;
	}
	
	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}
	
}