abc41b205f3499d3026240667f54a5bf69dc9c6a.svn-base 1.81 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_bus_subregedEntity
 * @author xuyg
 * @version 2017-03-08
 */
public class SRegBusSubreged extends DataEntity<SRegBusSubreged> {
	
	private static final long serialVersionUID = 1L;
	private String sareaCode;		// s_area_code
	private String ywh;		// ywh
	private String mainid;		// mainid
	private String fwid;		// fwid
	private String ismall;		// ismall
	private String qxid;		// qxid
	public String getQxid() {
		return qxid;
	}

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

	public SRegBusSubreged() {
		super();
	}

	public SRegBusSubreged(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=20, message="ywh长度必须介于 0 和 20 之间")
	public String getYwh() {
		return ywh;
	}

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

	public void setMainid(String mainid) {
		this.mainid = mainid;
	}
	
	@Length(min=0, max=64, message="fwid长度必须介于 0 和 64 之间")
	public String getFwid() {
		return fwid;
	}

	public void setFwid(String fwid) {
		this.fwid = fwid;
	}
	
	@Length(min=0, max=1, message="ismall长度必须介于 0 和 1 之间")
	public String getIsmall() {
		return ismall;
	}

	public void setIsmall(String ismall) {
		this.ismall = ismall;
	}
	
}