fix identity tables
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
using Kurisu.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
[SugarTable(TableName = "Werk", TableDescription = "人事范围")]
|
||||
public class WerkEntity : SugarBaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 代号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "代号")]
|
||||
public string Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "名称")]
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否可见
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "是否可见", ColumnDataType = "bit")]
|
||||
public bool Visible { get; set; }
|
||||
}
|
||||
17
Src/Dlhis.Entity/Sys/Entities/IdentityResourceClaimEntity.cs
Normal file
17
Src/Dlhis.Entity/Sys/Entities/IdentityResourceClaimEntity.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Sys.Entities;
|
||||
|
||||
|
||||
|
||||
[SkipScan]
|
||||
[SugarTable(TableName = "IdentityResourceClaims")]
|
||||
public class IdentityResourceClaimEntity
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string IdentityResourceId { get; set; }
|
||||
|
||||
public string Type { get; set; }
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
namespace Dlhis.Entity.Sys.Entities;
|
||||
|
||||
public class IdentityResourceClaims
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string IdentityResourceId { get; set; }
|
||||
|
||||
public string Type { get; set; }
|
||||
}
|
||||
@@ -1,6 +1,12 @@
|
||||
namespace Dlhis.Entity.Sys.Entities;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using SqlSugar;
|
||||
|
||||
public class IdentityResources
|
||||
namespace Dlhis.Entity.Sys.Entities;
|
||||
|
||||
|
||||
[SkipScan]
|
||||
[SugarTable(TableName = "IdentityResources")]
|
||||
public class IdentityResourceEntity
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
@@ -1,10 +1,12 @@
|
||||
using SqlSugar;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Sys.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// identity-roles
|
||||
/// </summary>
|
||||
[SkipScan]
|
||||
[SugarTable(TableName = "Roles")]
|
||||
public class RoleEntity
|
||||
{
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
using SqlSugar;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Sys.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// 租户
|
||||
/// </summary>
|
||||
[SkipScan]
|
||||
[SugarTable(TableName = "Tenants")]
|
||||
public class TenantEntity
|
||||
{
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
using SqlSugar;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Sys.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// identity-userclaim
|
||||
/// </summary>
|
||||
[SkipScan]
|
||||
[SugarTable(TableName = "UserClaims")]
|
||||
public class UserClaims
|
||||
public class UserClaimEntity
|
||||
{
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
@@ -1,10 +1,12 @@
|
||||
using SqlSugar;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Sys.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// identity-user
|
||||
/// </summary>
|
||||
[SkipScan]
|
||||
[SugarTable(TableName = "Users")]
|
||||
public class UserEntity
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user