bc2f25ff8ee1ca37ade4a9b1e598d469e3f5f1ed.svn-base
3.39 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
/**
* Copyright © 2015-2018 ODM All rights reserved.
*/
package com.thinkgem.jeesite.modules.reg.entity.base;
import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.common.utils.xml.JaxbDateAdapter;
/**
* 宗地基本信息变化表单维护Entity
* @author xuyg
* @version 2015-10-20
*/
@XmlRootElement(name="KTF_ZDBHQK")
public class RegBaseZdbhqk extends DataEntity<RegBaseZdbhqk> {
//QXDM="区县代码" xml?
private static final long serialVersionUID = 1L;
private String zddm; // 宗地代码
private String bhyy; // 变化原因
private String bhnr; // 变化内容
private Date djsj; // 登记时间
private String dbr; // 登簿人
private String fj; // 附记
private String zdid; // 宗地基本信息编号
private Date beginDjsj; // 开始 登记时间
private Date endDjsj; // 结束 登记时间
private String ywh; //业务号
private String oldzdid; // [变化前的宗地]
public RegBaseZdbhqk() {
super();
}
public RegBaseZdbhqk(String id){
super(id);
}
@XmlAttribute(name="ZDDM")
@Length(min=1, max=19, message="宗地代码长度必须介于 1 和 19 之间")
public String getZddm() {
return zddm;
}
public void setZddm(String zddm) {
this.zddm = zddm;
}
@XmlAttribute(name="BHYY")
@Length(min=1, max=300, message="变化原因长度必须介于 1 和 300 之间")
public String getBhyy() {
return bhyy;
}
public void setBhyy(String bhyy) {
this.bhyy = bhyy;
}
@XmlAttribute(name="BHNR")
@Length(min=1, max=500, message="变化内容长度必须介于 1 和 500 之间")
public String getBhnr() {
return bhnr;
}
public void setBhnr(String bhnr) {
this.bhnr = bhnr;
}
@XmlAttribute(name="DJSJ")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@NotNull(message="登记时间不能为空")
public Date getDjsj() {
return djsj;
}
public void setDjsj(Date djsj) {
this.djsj = djsj;
}
@XmlAttribute(name="DBR")
@Length(min=1, max=50, message="登簿人长度必须介于 1 和 50 之间")
public String getDbr() {
return dbr;
}
public void setDbr(String dbr) {
this.dbr = dbr;
}
@XmlAttribute(name="FJ")
@Length(min=0, max=300, message="附记长度必须介于 0 和 300 之间")
public String getFj() {
return fj;
}
public void setFj(String fj) {
this.fj = fj;
}
@XmlTransient
@Length(min=1, max=64, message="宗地基本信息编号长度必须介于 1 和 64 之间")
public String getZdid() {
return zdid;
}
public void setZdid(String zdid) {
this.zdid = zdid;
}
@XmlTransient
public Date getBeginDjsj() {
return beginDjsj;
}
public void setBeginDjsj(Date beginDjsj) {
this.beginDjsj = beginDjsj;
}
@XmlTransient
public Date getEndDjsj() {
return endDjsj;
}
public void setEndDjsj(Date endDjsj) {
this.endDjsj = endDjsj;
}
@XmlTransient
public String getYwh() {
return ywh;
}
public void setYwh(String ywh) {
this.ywh = ywh;
}
@XmlTransient
public String getOldzdid() {
return oldzdid;
}
public void setOldzdid(String oldzdid) {
this.oldzdid = oldzdid;
}
}