443895a95a6fbd2b14a4cc67a3c297e090516409.svn-base 1.56 KB
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-01-01
 */
public class RegBaseZbinfoZrz extends DataEntity<RegBaseZbinfoZrz> {
	
	private static final long serialVersionUID = 1L;
	private RegBaseZrzchxx mainIdZrz;		// 主表id 父类
	private String zbdmc;		// 坐标点名称
	private String zbx;		// X坐标值
	private String zby;		// Y坐标值
	private Integer sort;	// 排序
	
	
	public RegBaseZbinfoZrz() {
		super();
	}

	public RegBaseZbinfoZrz(String id){
		super(id);
	}
	public RegBaseZbinfoZrz(RegBaseZrzchxx mainIdZrz){
		this.mainIdZrz = mainIdZrz;
	}
	 
	public RegBaseZrzchxx getMainIdZrz() {
		return mainIdZrz;
	}

	public void setMainIdZrz(RegBaseZrzchxx mainIdZrz) {
		this.mainIdZrz = mainIdZrz;
	}

	@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;
	}
	
}