mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-04-10 11:01:28 +08:00
完成用户/角色分配资源
This commit is contained in:
@@ -32,17 +32,10 @@ namespace OpenAuth.Repository.Mapping
|
||||
.HasColumnName("CascadeId")
|
||||
.HasMaxLength(255)
|
||||
.IsRequired();
|
||||
Property(t => t.Key)
|
||||
.HasColumnName("Key")
|
||||
.HasMaxLength(200)
|
||||
.IsRequired();
|
||||
Property(t => t.Name)
|
||||
.HasColumnName("Name")
|
||||
.HasMaxLength(255)
|
||||
.IsRequired();
|
||||
Property(t => t.Status)
|
||||
.HasColumnName("Status")
|
||||
.IsRequired();
|
||||
Property(t => t.SortNo)
|
||||
.HasColumnName("SortNo")
|
||||
.IsRequired();
|
||||
@@ -50,6 +43,10 @@ namespace OpenAuth.Repository.Mapping
|
||||
.HasColumnName("Description")
|
||||
.HasMaxLength(500)
|
||||
.IsRequired();
|
||||
Property(t => t.ParentName)
|
||||
.HasColumnName("ParentName")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
Property(t => t.ParentId)
|
||||
.HasColumnName("ParentId")
|
||||
.HasMaxLength(50)
|
||||
@@ -58,6 +55,10 @@ namespace OpenAuth.Repository.Mapping
|
||||
.HasColumnName("AppId")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
Property(t => t.AppName)
|
||||
.HasColumnName("AppName")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
Property(t => t.TypeName)
|
||||
.HasColumnName("TypeName")
|
||||
.HasMaxLength(20)
|
||||
@@ -66,6 +67,9 @@ namespace OpenAuth.Repository.Mapping
|
||||
.HasColumnName("TypeId")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
Property(t => t.Disable)
|
||||
.HasColumnName("Disable")
|
||||
.IsRequired();
|
||||
|
||||
// Relationships
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user