f4483c34c27565db1a5fe859f5f9348eb5915d9d.svn-base
4.75 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
/**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.reg.entity.bus;
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 java.util.List;
import com.google.common.collect.Lists;
import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.common.utils.xml.JaxbDateAdapter;
/**
* 收费信息维护Entity
* @author xuyg
* @version 2016-04-04
*/
@XmlRootElement(name="DJF_DJ_SF")
public class RegBusSf extends DataEntity<RegBusSf> {
//xml ZKHYSJE="折扣后应收金额" YSJE="应收金额"SSJE="实收金额" SFLX="收费类型" SFKMMC="收费科目名称"? QXDM="区县代码"?SFEWSF="是否额外收费"?SFJS="收费基数"?
private static final long serialVersionUID = 1L;
private String ywh; // 业务号
private String ysdm; // 要素代码
private String jfry; // 计费人员
private Date jfrq; // 计费日期
private String sfry; // 收费人员
private Date sfrq; // 收费日期
private String fff; // 付费方
private String sjffr; // 实际付费人
private String sfdw; // 收费单位
private String sfkmmc;
private String sfewsf;
private Double sfjs;
private String sflx;
private Double ysje;
private Double zkhysje;
private Double ssje;
private List<RegBusSfSub> regBusSfSubList = Lists.newArrayList(); // 子表列表
public RegBusSf() {
super();
}
public RegBusSf(String id){
super(id);
}
@XmlAttribute(name="YWH")
@Length(min=0, max=20, message="业务号长度必须介于 0 和 20 之间")
public String getYwh() {
return ywh;
}
public void setYwh(String ywh) {
this.ywh = ywh;
}
public String getSfkmmc() {
return sfkmmc;
}
public void setSfkmmc(String sfkmmc) {
this.sfkmmc = sfkmmc;
}
public String getSfewsf() {
return sfewsf;
}
public void setSfewsf(String sfewsf) {
this.sfewsf = sfewsf;
}
public Double getSfjs() {
return sfjs;
}
public void setSfjs(Double sfjs) {
this.sfjs = sfjs;
}
public String getSflx() {
return sflx;
}
public void setSflx(String sflx) {
this.sflx = sflx;
}
public Double getYsje() {
return ysje;
}
public void setYsje(Double ysje) {
this.ysje = ysje;
}
public Double getZkhysje() {
return zkhysje;
}
public void setZkhysje(Double zkhysje) {
this.zkhysje = zkhysje;
}
public Double getSsje() {
return ssje;
}
public void setSsje(Double ssje) {
this.ssje = ssje;
}
@XmlAttribute(name="YSDM")
@Length(min=0, max=10, message="要素代码长度必须介于 0 和 10 之间")
public String getYsdm() {
return ysdm;
}
public void setYsdm(String ysdm) {
this.ysdm = ysdm;
}
@XmlAttribute(name="JFRY")
@Length(min=1, max=50, message="计费人员长度必须介于 1 和 50 之间")
public String getJfry() {
return jfry;
}
public void setJfry(String jfry) {
this.jfry = jfry;
}
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@NotNull(message="计费日期不能为空")
@XmlAttribute(name="JFRQ")
@XmlJavaTypeAdapter(JaxbDateAdapter.class)
public Date getJfrq() {
return jfrq;
}
public void setJfrq(Date jfrq) {
this.jfrq = jfrq;
}
@XmlAttribute(name="SFRY")
@Length(min=1, max=50, message="收费人员长度必须介于 1 和 50 之间")
public String getSfry() {
return sfry;
}
public void setSfry(String sfry) {
this.sfry = sfry;
}
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@NotNull(message="收费日期不能为空")
@XmlAttribute(name="SFRQ")
@XmlJavaTypeAdapter(JaxbDateAdapter.class)
public Date getSfrq() {
return sfrq;
}
public void setSfrq(Date sfrq) {
this.sfrq = sfrq;
}
@XmlAttribute(name="FFF")
@Length(min=0, max=2, message="付费方长度必须介于 0 和 2 之间")
public String getFff() {
return fff;
}
public void setFff(String fff) {
this.fff = fff;
}
@XmlAttribute(name="SJFFR")
@Length(min=1, max=50, message="实际付费人长度必须介于 1 和 50 之间")
public String getSjffr() {
return sjffr;
}
public void setSjffr(String sjffr) {
this.sjffr = sjffr;
}
@XmlAttribute(name="SFDW")
@Length(min=0, max=50, message="收费单位长度必须介于 0 和 50 之间")
public String getSfdw() {
return sfdw;
}
public void setSfdw(String sfdw) {
this.sfdw = sfdw;
}
@XmlTransient
public List<RegBusSfSub> getRegBusSfSubList() {
return regBusSfSubList;
}
public void setRegBusSfSubList(List<RegBusSfSub> regBusSfSubList) {
this.regBusSfSubList = regBusSfSubList;
}
}