拆分多库模式
This commit is contained in:
@ -10,6 +10,7 @@ namespace HT.Cloud.Domain.SystemOrganize
|
||||
/// 描 述:数据权限实体类
|
||||
/// </summary>
|
||||
[SugarTable("sys_dataprivilegerule")]
|
||||
[TenantAttribute("0")]
|
||||
public class DataPrivilegeRuleEntity : IEntity<DataPrivilegeRuleEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -8,6 +8,7 @@ namespace HT.Cloud.Domain.SystemOrganize
|
||||
/// 描 述:角色类别实体扩展类
|
||||
/// </summary>
|
||||
[SugarTable("sys_role")]
|
||||
[TenantAttribute("0")]
|
||||
public class RoleExtend : RoleEntity
|
||||
{
|
||||
//使用导入错误信息
|
||||
|
@ -8,6 +8,7 @@ namespace HT.Cloud.Domain.SystemOrganize
|
||||
/// 描 述:用户实体扩展类
|
||||
/// </summary>
|
||||
[SugarTable("sys_user")]
|
||||
[TenantAttribute("0")]
|
||||
public class UserExtend : UserEntity
|
||||
{
|
||||
//使用导入错误信息
|
||||
|
@ -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>
|
||||
|
@ -15,6 +15,7 @@ namespace HT.Cloud.Domain.SystemOrganize
|
||||
/// 机构实体
|
||||
/// </summary>
|
||||
[SugarTable("sys_organize")]
|
||||
[TenantAttribute("0")]
|
||||
public class OrganizeEntity : IEntity<OrganizeEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -14,6 +14,7 @@ namespace HT.Cloud.Domain.SystemOrganize
|
||||
/// 角色权限实体
|
||||
/// </summary>
|
||||
[SugarTable("sys_roleauthorize")]
|
||||
[TenantAttribute("0")]
|
||||
public class RoleAuthorizeEntity : IEntity<RoleAuthorizeEntity>, ICreationAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -16,6 +16,7 @@ namespace HT.Cloud.Domain.SystemOrganize
|
||||
/// 角色实体
|
||||
/// </summary>
|
||||
[SugarTable("sys_role")]
|
||||
[TenantAttribute("0")]
|
||||
public class RoleEntity : IEntity<RoleEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -10,6 +10,7 @@ namespace HT.Cloud.Domain.SystemOrganize
|
||||
/// 描 述:系统设置实体类
|
||||
/// </summary>
|
||||
[SugarTable("sys_systemset")]
|
||||
[TenantAttribute("0")]
|
||||
public class SystemSetEntity : IEntity<SystemSetEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -15,6 +15,7 @@ namespace HT.Cloud.Domain.SystemOrganize
|
||||
/// 用户实体
|
||||
/// </summary>
|
||||
[SugarTable("sys_user")]
|
||||
[TenantAttribute("0")]
|
||||
public class UserEntity : IEntity<UserEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -12,6 +12,7 @@ using System.ComponentModel.DataAnnotations;
|
||||
namespace HT.Cloud.Domain.SystemOrganize
|
||||
{
|
||||
[SugarTable("sys_userlogon")]
|
||||
[TenantAttribute("0")]
|
||||
public class UserLogOnEntity
|
||||
{
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user