44c11e8c7b01200f0ac643b1d07e892344233a29.svn-base
1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.reg.entity.base;
import org.hibernate.validator.constraints.Length;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.thinkgem.jeesite.common.persistence.DataEntity;
/**
* 带有坐标管理的测绘信息管理Entity
* @author xuyg
* @version 2016-01-01
*/
public class RegBaseZbinfo11 extends DataEntity<RegBaseZbinfo11> {
private static final long serialVersionUID = 1L;
private RegBaseChxx11 mainId; // 主表id 父类
private String zbdmc; // 坐标点名称
private String zbx; // X坐标值
private String zby; // Y坐标值
private Integer sort; // 排序
public RegBaseZbinfo11() {
super();
}
public RegBaseZbinfo11(String id){
super(id);
}
public RegBaseZbinfo11(RegBaseChxx11 mainId){
this.mainId = mainId;
}
//@ManyToOne
//@JoinColumn(name="mainId")
@JsonIgnore
@Length(min=0, max=64, message="主表id长度必须介于 0 和 64 之间")
public RegBaseChxx11 getMainId() {
return mainId;
}
public void setMainId(RegBaseChxx11 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;
}
}