1
heshaofeng
2026-03-25 37454e625df68d40897112b2e8c2e3cf4d7163e3
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace WIDESEA_Model.Models.Config
{
    public class PasswordPolicyConfig
    {
        /// <summary>
        /// 是否启用密码过期策略
        /// </summary>
        public bool EnablePasswordExpire { get; set; } = true;
 
        /// <summary>
        /// 密码有效期(天)
        /// </summary>
        public int PasswordExpireDays { get; set; } = 90;
 
        /// <summary>
        /// 提前提醒天数
        /// </summary>
        public int RemindBeforeExpireDays { get; set; } = 7;
    }
}