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 int Id { get; set; }
|
||||||
public bool Enabled { get; set; }
|
public bool Enabled { get; set; }
|
||||||
@@ -1,10 +1,12 @@
|
|||||||
using SqlSugar;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
using SqlSugar;
|
||||||
|
|
||||||
namespace Dlhis.Entity.Sys.Entities;
|
namespace Dlhis.Entity.Sys.Entities;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// identity-roles
|
/// identity-roles
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[SkipScan]
|
||||||
[SugarTable(TableName = "Roles")]
|
[SugarTable(TableName = "Roles")]
|
||||||
public class RoleEntity
|
public class RoleEntity
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
using SqlSugar;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
using SqlSugar;
|
||||||
|
|
||||||
namespace Dlhis.Entity.Sys.Entities;
|
namespace Dlhis.Entity.Sys.Entities;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 租户
|
/// 租户
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[SkipScan]
|
||||||
[SugarTable(TableName = "Tenants")]
|
[SugarTable(TableName = "Tenants")]
|
||||||
public class TenantEntity
|
public class TenantEntity
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,12 +1,14 @@
|
|||||||
using SqlSugar;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
using SqlSugar;
|
||||||
|
|
||||||
namespace Dlhis.Entity.Sys.Entities;
|
namespace Dlhis.Entity.Sys.Entities;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// identity-userclaim
|
/// identity-userclaim
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[SkipScan]
|
||||||
[SugarTable(TableName = "UserClaims")]
|
[SugarTable(TableName = "UserClaims")]
|
||||||
public class UserClaims
|
public class UserClaimEntity
|
||||||
{
|
{
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
@@ -1,10 +1,12 @@
|
|||||||
using SqlSugar;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
using SqlSugar;
|
||||||
|
|
||||||
namespace Dlhis.Entity.Sys.Entities;
|
namespace Dlhis.Entity.Sys.Entities;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// identity-user
|
/// identity-user
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[SkipScan]
|
||||||
[SugarTable(TableName = "Users")]
|
[SugarTable(TableName = "Users")]
|
||||||
public class UserEntity
|
public class UserEntity
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user