拆分多库模式

This commit is contained in:
dell
2023-08-24 09:28:09 +08:00
parent a83653655b
commit 8b307e203b
69 changed files with 1267 additions and 184 deletions

View File

@ -10,6 +10,7 @@ namespace HT.Cloud.Domain.SystemOrganize
/// 描 述:数据权限实体类
/// </summary>
[SugarTable("sys_dataprivilegerule")]
[TenantAttribute("0")]
public class DataPrivilegeRuleEntity : IEntity<DataPrivilegeRuleEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
{
/// <summary>

View File

@ -8,6 +8,7 @@ namespace HT.Cloud.Domain.SystemOrganize
/// 描 述:角色类别实体扩展类
/// </summary>
[SugarTable("sys_role")]
[TenantAttribute("0")]
public class RoleExtend : RoleEntity
{
//使用导入错误信息

View File

@ -8,6 +8,7 @@ namespace HT.Cloud.Domain.SystemOrganize
/// 描 述:用户实体扩展类
/// </summary>
[SugarTable("sys_user")]
[TenantAttribute("0")]
public class UserExtend : UserEntity
{
//使用导入错误信息

View File

@ -17,6 +17,7 @@ namespace HT.Cloud.Domain.SystemOrganize
/// Notice Entity Model
/// </summary>
[SugarTable("sys_notice")]
[TenantAttribute("0")]
public class NoticeEntity : IEntity<NoticeEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
{
/// <summary>

View File

@ -15,6 +15,7 @@ namespace HT.Cloud.Domain.SystemOrganize
/// 机构实体
/// </summary>
[SugarTable("sys_organize")]
[TenantAttribute("0")]
public class OrganizeEntity : IEntity<OrganizeEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
{
/// <summary>

View File

@ -14,6 +14,7 @@ namespace HT.Cloud.Domain.SystemOrganize
/// 角色权限实体
/// </summary>
[SugarTable("sys_roleauthorize")]
[TenantAttribute("0")]
public class RoleAuthorizeEntity : IEntity<RoleAuthorizeEntity>, ICreationAudited
{
/// <summary>

View File

@ -16,6 +16,7 @@ namespace HT.Cloud.Domain.SystemOrganize
/// 角色实体
/// </summary>
[SugarTable("sys_role")]
[TenantAttribute("0")]
public class RoleEntity : IEntity<RoleEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
{
/// <summary>

View File

@ -10,6 +10,7 @@ namespace HT.Cloud.Domain.SystemOrganize
/// 描 述:系统设置实体类
/// </summary>
[SugarTable("sys_systemset")]
[TenantAttribute("0")]
public class SystemSetEntity : IEntity<SystemSetEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
{
/// <summary>

View File

@ -15,6 +15,7 @@ namespace HT.Cloud.Domain.SystemOrganize
/// 用户实体
/// </summary>
[SugarTable("sys_user")]
[TenantAttribute("0")]
public class UserEntity : IEntity<UserEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
{
/// <summary>

View File

@ -12,6 +12,7 @@ using System.ComponentModel.DataAnnotations;
namespace HT.Cloud.Domain.SystemOrganize
{
[SugarTable("sys_userlogon")]
[TenantAttribute("0")]
public class UserLogOnEntity
{
/// <summary>