schangxiang@126.com
2025-08-05 04d10bce51a6272d02a4a0f1b05a4f64bf73f273
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
namespace iWareSql.MyDbContext
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;
 
    public partial class sys_user
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public sys_user()
        {
            sys_org = new HashSet<sys_org>();
            sys_role = new HashSet<sys_role>();
        }
 
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long Id { get; set; }
 
        [Required]
        [StringLength(50)]
        public string Account { get; set; }
 
        [Required]
        [StringLength(50)]
        public string Password { get; set; }
 
        [StringLength(20)]
        public string NickName { get; set; }
 
        [StringLength(20)]
        public string Name { get; set; }
 
        public string Avatar { get; set; }
 
        public DateTimeOffset? Birthday { get; set; }
 
        public int? Sex { get; set; }
 
        [StringLength(50)]
        public string Email { get; set; }
 
        [StringLength(20)]
        public string Phone { get; set; }
 
        [StringLength(20)]
        public string Tel { get; set; }
 
        [StringLength(20)]
        public string LastLoginIp { get; set; }
 
        public DateTimeOffset? LastLoginTime { get; set; }
 
        public int AdminType { get; set; }
 
        public int Status { get; set; }
 
        public DateTimeOffset? CreatedTime { get; set; }
 
        public DateTimeOffset? UpdatedTime { get; set; }
 
        public long? CreatedUserId { get; set; }
 
        [StringLength(50)]
        public string CreatedUserName { get; set; }
 
        public long? UpdatedUserId { get; set; }
 
        [StringLength(50)]
        public string UpdatedUserName { get; set; }
 
        public bool IsDeleted { get; set; }
 
        public long? TenantId { get; set; }
 
        [StringLength(50)]
        public string JobNo { get; set; }
 
        public bool? IsLogin { get; set; }
 
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<sys_org> sys_org { get; set; }
 
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<sys_role> sys_role { get; set; }
    }
}