2cf42f97c7283887cdffd676bfd3dfd62388b51e.svn-base
2.15 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
87
88
89
90
91
92
93
94
95
96
97
/**
* Copyright © 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 java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.List;
import com.google.common.collect.Lists;
import com.thinkgem.jeesite.common.persistence.DataEntity;
/**
* s_reg_bus_sjmainEntity
* @author xuyg
* @version 2017-03-08
*/
public class SRegBusSjmain extends DataEntity<SRegBusSjmain> {
private static final long serialVersionUID = 1L;
private String sareaCode; // s_area_code
private String ywh; // ywh
private String ysdm; // ysdm
private Date sjsj; // sjsj
private String bz; // bz
private List<SRegBusSjchild> sRegBusSjchildList = Lists.newArrayList(); // 子表列表
private String qxid; // qxid
public String getQxid() {
return qxid;
}
public void setQxid(String qxid) {
this.qxid = qxid;
}
public SRegBusSjmain() {
super();
}
public SRegBusSjmain(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=10, message="ysdm长度必须介于 0 和 10 之间")
public String getYsdm() {
return ysdm;
}
public void setYsdm(String ysdm) {
this.ysdm = ysdm;
}
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
public Date getSjsj() {
return sjsj;
}
public void setSjsj(Date sjsj) {
this.sjsj = sjsj;
}
@Length(min=0, max=300, message="bz长度必须介于 0 和 300 之间")
public String getBz() {
return bz;
}
public void setBz(String bz) {
this.bz = bz;
}
public List<SRegBusSjchild> getSRegBusSjchildList() {
return sRegBusSjchildList;
}
public void setSRegBusSjchildList(List<SRegBusSjchild> sRegBusSjchildList) {
this.sRegBusSjchildList = sRegBusSjchildList;
}
}