ny
昨天 b6f169fe43a2b13f351aefc152374fc7f0bc8cb7
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
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
package jnpf.base.model.systemconfig;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
/**
 *
 * @author JNPF开发平台组
 * @version V3.1.0
 * @copyright 引迈信息技术有限公司
 * @date 2021/3/12 15:31
 */
@Data
public class SysConfigModel {
    @NotBlank(message = "必填")
    @Schema(description = "系统名称")
    private String sysName;
    @NotBlank(message = "必填")
    @Schema(description = "系统描述")
    private String sysDescription;
    @NotBlank(message = "必填")
    @Schema(description = "系统版本")
    private String sysVersion;
    @NotBlank(message = "必填")
    @Schema(description = "版权信息")
    private String copyright;
    @NotBlank(message = "必填")
    @Schema(description = "公司名称")
    private String companyName;
    @NotBlank(message = "必填")
    @Schema(description = "公司简称")
    private String companyCode;
    @NotBlank(message = "必填")
    @Schema(description = "公司地址")
    private String companyAddress;
    @NotBlank(message = "必填")
    @Schema(description = "公司法人")
    private String companyContacts;
    @NotBlank(message = "必填")
    @Schema(description = "公司电话")
    private String companyTelePhone;
    @NotBlank(message = "必填")
    @Schema(description = "公司邮箱")
    private String companyEmail;
 
    /**
     * 登录图标
     */
    @Schema(description = "登录图标")
    private String loginIcon;
 
    /**
     * 导航图标
     */
    @Schema(description = "导航图标")
    private String navigationIcon;
    /**
     * logo图标
     */
    @Schema(description = "logo图标")
    private String logoIcon;
    /**
     * App图标
     */
    @Schema(description = "App图标")
    private String appIcon;
 
    /**
     * 1--后登陆踢出先登录
     * 2--同时登陆
     */
    @NotBlank(message = "必填")
    @Schema(description = "单一登录方式")
    private Integer singleLogin;
    /**
     * 密码错误次数
     */
    @Schema(description = "密码错误次数")
    @NotNull(message = "必填")
    private Integer passwordErrorsNumber;
    /**
     * 错误策略  1--账号锁定  2--延时登录
     */
    @Schema(description = "错误策略")
    private Integer lockType;
    /**
     * 延时登录时间
     */
    @Schema(description = "延时登录时间")
    private Integer lockTime;
    /**
     * 是否开启验证码
     */
    @Schema(description = "是否开启验证码")
    private Integer enableVerificationCode;
    /**
     * 验证码位数
     */
    @Schema(description = "验证码位数")
    private Integer verificationCodeNumber;
 
 
    @NotBlank(message = "必填")
    @Schema(description = "超出登出")
    private String tokenTimeout;
    @NotBlank(message = "必填")
    @Schema(description = "是否开启上次登录提醒")
    private Integer lastLoginTimeSwitch;
    @NotBlank(message = "必填")
    @Schema(description = "是否开启白名单验证")
    private Integer whitelistSwitch;
    @NotBlank(message = "必填")
    @Schema(description = "白名单")
    private String whiteListIp;
    @NotBlank(message = "必填")
    @Schema(description = "POP3服务主机地址")
    private String emailPop3Host;
    @NotBlank(message = "必填")
    @Schema(description = "POP3服务端口")
    private String emailPop3Port;
    @NotBlank(message = "必填")
    @Schema(description = "SMTP服务主机地址")
    private String emailSmtpHost;
    @NotBlank(message = "必填")
    @Schema(description = "邮件显示名称")
    private String emailSmtpPort;
    @NotBlank(message = "必填")
    @Schema(description = "系统名称")
    private String emailSenderName;
    @NotBlank(message = "必填")
    @Schema(description = "邮箱账户")
    private String emailAccount;
    @NotBlank(message = "必填")
    @Schema(description = "邮箱密码")
    private String emailPassword;
    @NotBlank(message = "必填")
    @Schema(description = "是否开启SSL服务登录")
    private Integer emailSsl;
 
 
    @NotBlank(message = "必填")
    @Schema(description = "授权密钥")
    private String registerKey;
    private String lastLoginTime;
    private String pageSize;
    private String sysTheme;
    private String isLog;
 
    // 短信配置
    /**
     * 阿里
     */
    private String aliAccessKey;
    private String aliSecret;
 
    /**
     * 腾讯
     */
    private String tencentSecretId;
    private String tencentSecretKey;
    private String tencentAppId;
    private String tencentAppKey;
    // End 短信配置
    /**
     * 审批链接时效性
     */
    private String linkTime;
 
    /**
     * 链接点击次数
     */
    private Integer isClick;
 
    /**
     * 链接失效次数
     */
    private Integer unClickNum;
 
    /**  密码策略 */
    /**
     * 密码定期更新开关
     */
    private Integer passwordIsUpdatedRegularly;
 
    /**
     * 更新周期
     */
    private Integer updateCycle;
 
    /**
     * 提前N天提醒更新
     */
    private Integer updateInAdvance;
 
    /**
     * 密码强度限制开关
     */
    private Integer passwordStrengthLimit;
 
    /**
     * 最小长度开关
     */
    private Integer passwordLengthMin;
 
    /**
     * 密码最小长度限制
     */
    private Integer passwordLengthMinNumber;
 
    /**
     * 是否包含数字
     */
    private Integer containsNumbers;
 
    /**
     * 是否包含小写字母
     */
    private Integer includeLowercaseLetters;
 
    /**
     * 是否包含大写字母
     */
    private Integer includeUppercaseLetters;
 
    /**
     * 是否包含字符
     */
    private Integer containsCharacters;
 
    /**
     * 是否禁用旧密码开关
     */
    private Integer disableOldPassword;
 
    /**
     * 禁用旧密码个数
     */
    private Integer disableTheNumberOfOldPasswords;
 
    /**
     * 初始密码强制修改开关
     */
    private Integer mandatoryModificationOfInitialPassword;
 
    @Schema(description = "窗口标题")
    private String title;
 
    @Schema(description = "用户密码")
    private String newUserDefaultPassword;
 
    /**
     * 以下日程相关属性添加
     *   { id: 'timeGridDay', fullName: '日' },
     *   { id: 'timeGridWeek', fullName: '周' },
     *   { id: 'dayGridMonth', fullName: '月' },
     */
    @Schema(description = "默认视图")
    private String defaultView = "dayGridMonth";
    @Schema(description = "显示农历")
    private Boolean showLunarCalendar = false;
    @Schema(description = "周第一天")
    private Integer firstDay = 0;
    @Schema(description = "默认时长")
    private Integer duration = 60;
 
    @Schema(description = "流程签收")
    private Integer flowSign = 0;
    @Schema(description = "流程办理")
    private Integer flowTodo = 0;
    /**
     * 1:无范围限制  2:同一部门  3:同一岗位  6:同一公司
     */
    @Schema(description = "委托范围")
    private Integer delegateScope = 1;
    @Schema(description = "委托确认")
    private Integer delegateAck = 0;
    @Schema(description = "代理范围")
    private Integer proxyScope = 1;
    @Schema(description = "代理确认")
    private Integer proxyAck = 0;
    @Schema(description = "加签层级")
    private Integer addSignLevel = 1;
 
    /**
     * 模块设置
     * 组织岗位层级1-9
     */
    @Schema(description = "组织层级设置")
    private Integer orgLevel = 9;
    @Schema(description = "岗位层级设置")
    private Integer positionLevel = 9;
    @Schema(description = "组织层级不验证(1-开启不验证,其他验证)")
    private Integer orgNotCheck = 1;
    @Schema(description = "系统岗位名称")
    private String sysPositionName = "默认岗位";
}