zongzhibin
2024-11-27 5e610f4c9d9870b393720bc5fcc856e97bc2ea4b
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
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_role
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public sys_role()
        {
            sys_org = new HashSet<sys_org>();
            sys_menu = new HashSet<sys_menu>();
            sys_user = new HashSet<sys_user>();
        }
 
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long Id { get; set; }
 
        [Required]
        [StringLength(20)]
        public string Name { get; set; }
 
        [Required]
        [StringLength(50)]
        public string Code { get; set; }
 
        public int Sort { get; set; }
 
        public int DataScopeType { get; set; }
 
        [StringLength(100)]
        public string Remark { get; set; }
 
        public int Status { get; set; }
 
        public int RoleType { 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; }
 
        [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_menu> sys_menu { get; set; }
 
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<sys_user> sys_user { get; set; }
    }
}