BaseSystemInfo.java 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. package jnpf.model;
  2. import io.swagger.v3.oas.annotations.media.Schema;
  3. import lombok.Data;
  4. import java.io.Serializable;
  5. /**
  6. * 系统的核心基础信息
  7. *
  8. * @author JNPF开发平台组
  9. * @version V1.2.191207
  10. * @copyright 引迈信息技术有限公司
  11. * @date 2019年9月26日 上午9:18
  12. */
  13. @Data
  14. public class BaseSystemInfo implements Serializable {
  15. /** --------------- 安全设置 --------------- **/
  16. @Schema(description = "单一登录:1-后登录踢出先登录、2-同时登陆")
  17. private Integer singleLogin;
  18. @Schema(description = "超时登出时间小时")
  19. private String tokenTimeout;
  20. @Schema(description = "密码错误次数")
  21. private Integer passwordErrorsNumber;
  22. @Schema(description = "错误策略 1--账号锁定 2--延时登录")
  23. private Integer lockType;
  24. @Schema(description = "延时登录时间")
  25. private Integer lockTime;
  26. @Schema(description = "是否开启验证码")
  27. private Integer enableVerificationCode;
  28. @Schema(description = "验证码位数")
  29. private Integer verificationCodeNumber;
  30. @Schema(description = "上次登录时间提示开关")
  31. private Integer lastLoginTimeSwitch = 0;
  32. @Schema(description = "密码定期更新开关")
  33. private Integer passwordIsUpdatedRegularly;
  34. @Schema(description = "更新周期")
  35. private Integer updateCycle;
  36. @Schema(description = "提前N天提醒更新")
  37. private Integer updateInAdvance;
  38. @Schema(description = "密码强度限制开关")
  39. private Integer passwordStrengthLimit;
  40. @Schema(description = "最小长度开关")
  41. private Integer passwordLengthMin;
  42. @Schema(description = "密码最小长度限制")
  43. private Integer passwordLengthMinNumber;
  44. @Schema(description = "是否包含数字")
  45. private Integer containsNumbers;
  46. @Schema(description = "是否包含小写字母")
  47. private Integer includeLowercaseLetters;
  48. @Schema(description = "是否包含大写字母")
  49. private Integer includeUppercaseLetters;
  50. @Schema(description = "是否包含字符")
  51. private Integer containsCharacters;
  52. @Schema(description = "是否禁用旧密码开关")
  53. private Integer disableOldPassword;
  54. @Schema(description = "禁用旧密码个数")
  55. private Integer disableTheNumberOfOldPasswords;
  56. @Schema(description = "初始密码强制修改开关")
  57. private Integer mandatoryModificationOfInitialPassword;
  58. /** --------------- 安全设置 --------------- **/
  59. /**
  60. * 公司电话
  61. */
  62. private String companyTelePhone;
  63. /**
  64. * appid
  65. */
  66. private String wxGzhAppId;
  67. /**
  68. * 公司地址
  69. */
  70. private String companyAddress;
  71. private String wxGzhAppSecret;
  72. private String isLog;
  73. private String emailSmtpPort;
  74. private String emailPop3Host;
  75. private String emailSenderName;
  76. /**
  77. * 公司邮箱
  78. */
  79. private String companyEmail;
  80. private String sysName;
  81. /**
  82. * 版权信息
  83. */
  84. private String copyright;
  85. private String lastLoginTime;
  86. private String emailAccount;
  87. private String whitelistSwitch;
  88. private String pageSize;
  89. /**
  90. * 系统描述
  91. */
  92. private String sysDescription;
  93. private String emailPassword;
  94. /**
  95. * 公司法人
  96. */
  97. private String companyContacts;
  98. /**
  99. * 系统主题
  100. */
  101. private String sysTheme;
  102. private String qyhJoinUrl;
  103. private String qyhJoinTitle;
  104. private String whitelistIp;
  105. /**
  106. * 公司简称
  107. */
  108. private String companyCode;
  109. private String emailSsl;
  110. private String emailSmtpHost;
  111. private String registerKey;
  112. private String wxGzhToken;
  113. /**
  114. * 系统版本
  115. */
  116. private String sysVersion;
  117. private String emailPop3Port;
  118. /**
  119. * 公司名称
  120. */
  121. private String companyName;
  122. private String wxGzhUrl;
  123. // 图标----
  124. private String loginIcon;
  125. private String logoIcon;
  126. private String appIcon;
  127. private String navigationIcon;
  128. /**
  129. * 审批链接时效性
  130. */
  131. private String linkTime;
  132. /**
  133. * 链接点击次数
  134. */
  135. private Integer isClick;
  136. /**
  137. * 链接失效次数
  138. */
  139. private Integer unClickNum;
  140. @Schema(description = "窗口标题")
  141. private String title;
  142. @Schema(description = "用户密码")
  143. private String newUserDefaultPassword;
  144. /*以下日程相关属性添加*/
  145. @Schema(description = "默认视图")
  146. private String defaultView;
  147. @Schema(description = "显示农历")
  148. private Boolean showLunarCalendar;
  149. @Schema(description = "周第一天")
  150. private Integer firstDay;
  151. @Schema(description = "默认时长")
  152. private Integer duration;
  153. @Schema(description = "流程签收")
  154. private Integer flowSign = 0;
  155. @Schema(description = "流程办理")
  156. private Integer flowTodo = 0;
  157. /**
  158. * 1:无范围限制 2:同一部门 3:同一岗位 6:同一公司
  159. */
  160. @Schema(description = "委托范围")
  161. private Integer delegateScope = 1;
  162. @Schema(description = "委托确认")
  163. private Integer delegateAck = 0;
  164. @Schema(description = "代理范围")
  165. private Integer proxyScope = 1;
  166. @Schema(description = "代理确认")
  167. private Integer proxyAck = 0;
  168. @Schema(description = "加签层级")
  169. private Integer addSignLevel = 1;
  170. /**
  171. * 模块设置
  172. * 组织岗位层级1-9
  173. */
  174. @Schema(description = "组织层级设置")
  175. private Integer orgLevel = 9;
  176. @Schema(description = "岗位层级设置")
  177. private Integer positionLevel = 9;
  178. @Schema(description = "组织层级不验证(1-开启不验证,其他验证)")
  179. private Integer orgNotCheck = 1;
  180. @Schema(description = "系统岗位名称")
  181. private String sysPositionName = "默认岗位";
  182. }