schangxiang@126.com
2025-11-04 f5ed29dc26c7cd952d56ec5721a2efc43cd25992
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
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace HxModel
{
    /// <summary>
    /// 密码规则
    /// </summary>
    [Table("t_pwdrule")]
    public class PwdruleModel
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]       // 不自增字段
        public string Id { get; set; }
 
        /// <summary>
        /// 项目ID
        /// </summary>
        public string ProjectId { get; set; }
 
        /// <summary>
        /// 有效期 
        /// </summary>
        public DateTime EffectiveDate { get; set; }
         
        /// <summary>
        /// 到期时间(天)
        /// </summary>
        public int BecomeDue { get; set; }
 
        /// <summary>
        /// 密码长度
        /// </summary>
        public int PwdLength { get; set; }
 
        /// <summary>
        /// 包含字符(0大字、1小写、2数字、3特殊符号)
        /// </summary>
        public string ContainsCharacter { get; set; }
 
        /// <summary>
        /// 密码输错次数
        /// </summary>
        public int ErrorNum { get; set; }
 
        /// <summary>
        /// 账户解锁类别(0管理员、1自动)
        /// </summary>
        public string AccountUnlockType { get; set; }
 
        /// <summary>
        /// 账户锁定小时
        /// </summary>
        public int AccountUnlockHour { get; set; }
 
        /// <summary>
        /// 锁屏时间(分钟)
        /// </summary>
        public int LockScreen { get; set; }
 
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreatName { get; set; }
 
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
 
        /// <summary>
        /// 修改人
        /// </summary>
        public string ModifyName { get; set; }
 
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyTime { get; set; }
    }
 
    /// <summary>
    /// 查询参数
    /// </summary>
    public class PwdruleModelSearchModel
    {
 
    }
 
}