89538ce42e517caf1720de9c000c3ecaad6f842f.svn-base 1.6 KB
package com.thinkgem.jeesite.modules.reg.entity.base;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.modules.reg.entity.bus.RegBusHisBdcqzsdjxx;

public class RegBaseHisZbinfo extends DataEntity<RegBaseHisZbinfo>{
	private static final long serialVersionUID = 1L;
	private RegBusHisBdcqzsdjxx mainId;		// 主表id 父类
	private String zbdmc;		// 坐标点名称
	private String zbx;		// X坐标值
	private String zby;		// Y坐标值
	private Integer sort;	// 排序
	
	public RegBaseHisZbinfo() {
		super();
	}

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

	public RegBaseHisZbinfo(RegBusHisBdcqzsdjxx mainId){
		this.mainId = mainId;
	}

	@Length(min=0, max=64, message="主表id长度必须介于 0 和 64 之间")
	public RegBusHisBdcqzsdjxx getMainId() {
		return mainId;
	}

	public void setMainId(RegBusHisBdcqzsdjxx mainId) {
		this.mainId = mainId;
	}
	
	@Length(min=0, max=100, message="坐标点名称长度必须介于 0 和 100 之间")
	public String getZbdmc() {
		return zbdmc;
	}

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

	public void setZbx(String zbx) {
		this.zbx = zbx;
	}
	
	@Length(min=0, max=50, message="Y坐标值长度必须介于 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;
	}
}