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
package com.yiboshi.science.param.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yiboshi.science.base.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;
/**
* 单位表DTO
*
* @author lkl
* @version 2021-08-26
*/
@Data
@EqualsAndHashCode(callSuper=true)
@ApiModel(description = "单位表DTO")
public class ComUnitDTO extends BaseDTO {
/** 树编码 */
@ApiModelProperty(value = "树编码", position = 1 , required = true)
// @NotNull(message = "树编码不能为空")
@Length(max=50, message = "树编码不能大于50")
private String treeCode;
/** 单位名称 */
@ApiModelProperty(value = "单位名称", position = 2 )
@Length(max=200, message = "单位名称不能大于200")
private String unitName;
/** 单位类型 */
@ApiModelProperty(value = "单位类型", position = 3 )
private Integer unitType;
/** 单位性质 */
@ApiModelProperty(value = "单位性质", position = 3 )
private String unitNature;
/** 状态 1正常 2 注销 */
@ApiModelProperty(value = "状态 1正常 2 注销", position = 5)
private Integer unitState;
/** 单位地址 */
@ApiModelProperty(value = "单位地址", position = 6 )
@Length(max=200, message = "单位地址不能大于200")
private String unitAddress;
/** 联系人姓名 */
@ApiModelProperty(value = "联系人姓名", position = 8 )
@Length(max=100, message = "联系人姓名不能大于100")
private String linkName;
/** 联系人电话 */
@ApiModelProperty(value = "联系人电话", position = 9 )
@Length(max=100, message = "联系人电话不能大于100")
private String telephone;
/** 联系人邮箱 */
@ApiModelProperty(value = "联系人邮箱", position = 10 )
@Length(max=100, message = "联系人邮箱不能大于100")
private String email;
/** 传真 */
@ApiModelProperty(value = "传真", position = 1 )
@Length(max=50, message = "传真不能大于50")
private String fax;
/** 组织机构代码/统一社会信用代码 */
@ApiModelProperty(value = "组织机构代码/统一社会信用代码", position = 1 )
@Length(max=50, message = "组织机构代码/统一社会信用代码不能大于50")
private String organizationCode;
/** 注册所在地 */
@ApiModelProperty(value = "注册所在地", position = 1 )
@Length(max=50, message = "注册所在地不能大于50")
private String registeredAddress;
/** 邮编 */
@ApiModelProperty(value = "邮编", position = 7 )
@Length(max=100, message = "邮编不能大于100")
private String postCode;
/** 法定代表人 */
@ApiModelProperty(value = "法定代表人", position = 1 )
@Length(max=50, message = "法定代表人不能大于50")
private String legalPerson;
/** 职工总数 */
@ApiModelProperty(value = "职工总数", position = 1 )
private Integer workforce;
/** 其中专科以上人员 */
@ApiModelProperty(value = "其中专科以上人员", position = 1 )
private Integer specializedPersonnel;
/** 研究开发人员 */
@ApiModelProperty(value = "研究开发人员", position = 1 )
private Integer researchPersonnel;
/** 开户银行 */
@ApiModelProperty(value = "开户银行", position = 1 )
@Length(max=100, message = "开户银行不能大于100")
private String depositBank;
/** 银行账号 */
@ApiModelProperty(value = "银行账号", position = 1 )
@Length(max=50, message = "银行账号不能大于50")
private String bankAccount;
/** 开户银行地址 */
@ApiModelProperty(value = "开户银行地址", position = 1 )
@Length(max=100, message = "开户银行地址不能大于100")
private String depositBankAddress;
/** 银行联行号 */
@ApiModelProperty(value = "银行联行号", position = 1 )
@Length(max=50, message = "银行联行号不能大于50")
private String interbankNumber;
/** 备注 */
@ApiModelProperty(value = "备注", position = 12 )
@Length(max=200, message = "备注不能大于200")
private String remark;
/** 1 待审核,10 审核通过, 20 审核不通过 ,30 返回修改 */
@ApiModelProperty(value = "审核结果", position = 6 )
private Integer auditResult;
/** 审核内容 */
@ApiModelProperty(value = "审核内容", position = 5 )
private String auditContent;
/** 审核单位*/
@ApiModelProperty(value = "审核单位", position = 28 )
private String auditUnit;
/** 审核人 */
@ApiModelProperty(value = "审核人", position = 5 )
private String auditPerson;
/** 审核时间 */
@ApiModelProperty(value = "审核时间", position = 7 )
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
private Date auditDate;
/** 单位类型 */
@ApiModelProperty(value = "单位类型", position = 14)
private String unitTypeName;
/** 单位状态 */
@ApiModelProperty(value = "单位状态", position = 17)
private String unitStateName;
/** 上级单位名称 */
@ApiModelProperty(value = "上级单位名称", position = 16)
private String upUnitName;
/** 上级单位编码 */
@ApiModelProperty(value = "上级单位编码", position = 17)
private String upTreeCode;
/** 验证码 */
@ApiModelProperty(value = "验证码", position = 8)
private String code;
/** 单位性质 */
@ApiModelProperty(value = "单位性质", position = 3 )
private String natureName;
/** 证件号 */
@ApiModelProperty(value = "证件号", position = 1)
private String certId;
/** 证件类型 (参数表获取) */
@ApiModelProperty(value = "证件类型 (参数表获取)", position = 2)
private String certType;
/** 姓名 */
@ApiModelProperty(value = "姓名", position = 3)
private String personName;
/** 性别 */
@ApiModelProperty(value = "性别", position = 4)
private String sex;
/** 出生日期 */
@ApiModelProperty(value = "出生日期", position = 5)
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
private Date birthday;
/** 电话号码 */
@ApiModelProperty(value = "电话号码", position = 13)
private String mobile;
/** 照片 */
@ApiModelProperty(value = "照片", position = 14)
private String photo;
/** 用户名 */
@ApiModelProperty(value = "用户名", position = 18)
private String username;
/** 密码 */
@ApiModelProperty(value = "密码", position = 19)
private String password;
/** 管理员 */
private List<ComPersonDTO> managers;
}