690b013fdd045184588b907b2318b05c1a13b189.svn-base
3.56 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
/**
* Copyright © 2015-2018 ODM All rights reserved.
*/
package com.thinkgem.jeesite.modules.reg.entity.bus;
import org.hibernate.validator.constraints.Length;
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.Date;
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 2015-10-09
*/
@XmlRootElement(name="DJF_DJ_SH")
public class RegBusSh extends DataEntity<RegBusSh> {
//xml QXDM="区县代码"
private static final long serialVersionUID = 1L;
private String ywh; // 业务号
private String ysdm; // 要素代码
private String jdmc; // 节点名称
private Integer sxh; // 顺序号
private String shryxm; // 审核人员姓名
private Date shkssj; // 审核开始时间
private Date shjssj; // 审核结束时间
private String shyj; // 审核意见
private String czjg; // 操作结果
private String procInsId; // proc_ins_id
public RegBusSh() {
super();
}
public RegBusSh(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;
}
@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="JDMC")
@Length(min=1, max=50, message="节点名称长度必须介于 1 和 50 之间")
public String getJdmc() {
return jdmc;
}
public void setJdmc(String jdmc) {
this.jdmc = jdmc;
}
@XmlAttribute(name="SXH")
@NotNull(message="顺序号不能为空")
public Integer getSxh() {
return sxh;
}
public void setSxh(Integer sxh) {
this.sxh = sxh;
}
@XmlAttribute(name="SHRYXM")
@Length(min=1, max=50, message="审核人员姓名长度必须介于 1 和 50 之间")
public String getShryxm() {
return shryxm;
}
public void setShryxm(String shryxm) {
this.shryxm = shryxm;
}
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@NotNull(message="审核开始时间不能为空")
@XmlAttribute(name="SHKSSJ")
@XmlJavaTypeAdapter(JaxbDateAdapter.class)
public Date getShkssj() {
return shkssj;
}
public void setShkssj(Date shkssj) {
this.shkssj = shkssj;
}
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@NotNull(message="审核结束时间不能为空")
@XmlAttribute(name="SHJSSJ")
@XmlJavaTypeAdapter(JaxbDateAdapter.class)
public Date getShjssj() {
return shjssj;
}
public void setShjssj(Date shjssj) {
this.shjssj = shjssj;
}
@XmlAttribute(name="SHYJ")
@Length(min=1, max=500, message="审核意见长度必须介于 1 和 500 之间")
public String getShyj() {
return shyj;
}
public void setShyj(String shyj) {
this.shyj = shyj;
}
@XmlAttribute(name="CZJG")
@Length(min=0, max=2, message="操作结果长度必须介于 0 和 2 之间")
public String getCzjg() {
return czjg;
}
public void setCzjg(String czjg) {
this.czjg = czjg;
}
@XmlTransient
@Length(min=0, max=64, message="proc_ins_id长度必须介于 0 和 64 之间")
public String getProcInsId() {
return procInsId;
}
public void setProcInsId(String procInsId) {
this.procInsId = procInsId;
}
}