e21c079577e1e48656cce8120d303d48c5d0d69a.svn-base
6.09 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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
/**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.reg.entity.updata;
import java.util.Date;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.hibernate.validator.constraints.Length;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.common.utils.xml.JaxbDateAdapter;
/**
* 数据汇交Entity
* @author xuyg
* @version 2016-08-10
*/
@XmlRootElement(name="Head")
public class RegBusSjhjtable extends DataEntity<RegBusSjhjtable> {
private static final long serialVersionUID = 1L;
private String bizmsgid; // 业务报文
private String asid; // 接入标准ID
private String areacode; // 行政区划编码
private String rectype; // 业务编码
private String righttype; // 权利类型
private String regtype; // 登记类型
private Date createdate; // 创建时间
private String recflowid; // 业务流水号
private String regorgid; // 登记机构
private String parcelid; // 宗地/宗海代码
private String estatenum; // 不动产单元号
private String preestatenum; // 上次不动产单元号
private String precertid; // 上次不动产权证号/不动产登记证明号
private String certcount; // 不动产权证号码数量
private String proofcount; // 证明号码数量
private String digitalsign; // 数字签名
private String issuccess; //成功标识(0接入成功,1接入失败)
private String exption; //校验规则错误信息
public RegBusSjhjtable() {
super();
}
public RegBusSjhjtable(String id){
super(id);
}
public String getExption() {
return exption;
}
public void setExption(String exption) {
this.exption = exption;
}
@XmlElement(name="BizMsgID")
@Length(min=1, max=22, message="业务报文长度必须介于 1 和 22 之间")
public String getBizmsgid() {
return bizmsgid;
}
public void setBizmsgid(String bizmsgid) {
this.bizmsgid = bizmsgid;
}
@XmlElement(name="ASID")
@Length(min=1, max=5, message="接入标准ID长度必须介于 1 和 5 之间")
public String getAsid() {
return asid;
}
public void setAsid(String asid) {
this.asid = asid;
}
@XmlElement(name="AreaCode")
@Length(min=1, max=12, message="行政区划编码长度必须介于 1 和 12 之间")
public String getAreacode() {
return areacode;
}
public void setAreacode(String areacode) {
this.areacode = areacode;
}
@XmlElement(name="RecType")
@Length(min=1, max=5, message="业务编码长度必须介于 1 和 5 之间")
public String getRectype() {
return rectype;
}
public void setRectype(String rectype) {
this.rectype = rectype;
}
@XmlElement(name="RightType")
@Length(min=1, max=2, message="权利类型长度必须介于 1 和 2 之间")
public String getRighttype() {
return righttype;
}
public void setRighttype(String righttype) {
this.righttype = righttype;
}
@XmlElement(name="RegType")
@Length(min=1, max=8, message="登记类型长度必须介于 1 和 8 之间")
public String getRegtype() {
return regtype;
}
public void setRegtype(String regtype) {
this.regtype = regtype;
}
@XmlElement(name="CreateDate")
//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@NotNull(message="创建时间不能为空")
//@XmlJavaTypeAdapter(JaxbDateAdapter.class)
public Date getCreatedate() {
return createdate;
}
public void setCreatedate(Date createdate) {
this.createdate = createdate;
}
@XmlElement(name="RecFlowID")
@Length(min=1, max=50, message="业务流水号长度必须介于 1 和 50 之间")
public String getRecflowid() {
return recflowid;
}
public void setRecflowid(String recflowid) {
this.recflowid = recflowid;
}
@XmlElement(name="RegOrgID")
@Length(min=1, max=200, message="登记机构长度必须介于 1 和 200 之间")
public String getRegorgid() {
return regorgid;
}
public void setRegorgid(String regorgid) {
this.regorgid = regorgid;
}
@XmlElement(name="ParcelID")
@Length(min=1, max=50, message="宗地/宗海代码长度必须介于 1 和 50 之间")
public String getParcelid() {
return parcelid;
}
public void setParcelid(String parcelid) {
this.parcelid = parcelid;
}
@XmlElement(name="EstateNum")
@Length(min=1, max=28, message="不动产单元号长度必须介于 1 和 28 之间")
public String getEstatenum() {
return estatenum;
}
public void setEstatenum(String estatenum) {
this.estatenum = estatenum;
}
@XmlElement(name="PreEstateNum")
@Length(min=1, max=255, message="上次不动产单元号长度必须介于 1 和 255 之间")
public String getPreestatenum() {
return preestatenum;
}
public void setPreestatenum(String preestatenum) {
this.preestatenum = preestatenum;
}
@XmlElement(name="PreCertID")
@Length(min=1, max=255, message="上次不动产权证号/不动产登记证明号长度必须介于 1 和 255 之间")
public String getPrecertid() {
return precertid;
}
public void setPrecertid(String precertid) {
this.precertid = precertid;
}
@XmlElement(name="CertCount")
@Length(min=1, max=3, message="不动产权证号码数量长度必须介于 1 和 3 之间")
public String getCertcount() {
return certcount;
}
public void setCertcount(String certcount) {
this.certcount = certcount;
}
@XmlElement(name="ProofCount")
@Length(min=1, max=3, message="证明号码数量长度必须介于 1 和 3 之间")
public String getProofcount() {
return proofcount;
}
public void setProofcount(String proofcount) {
this.proofcount = proofcount;
}
@XmlElement(name="DigitalSign")
@Length(min=1, max=255, message="数字签名长度必须介于 1 和 255 之间")
public String getDigitalsign() {
return digitalsign;
}
public void setDigitalsign(String digitalsign) {
this.digitalsign = digitalsign;
}
public String getIssuccess() {
return issuccess;
}
public void setIssuccess(String issuccess) {
this.issuccess = issuccess;
}
}