拆分多库模式
This commit is contained in:
@ -10,7 +10,8 @@ namespace HT.Cloud.Domain.ChartsManage
|
||||
/// 描 述: 趋势变量表实体类
|
||||
/// </summary>
|
||||
[SugarTable("HT_HISTORY_CHART")]
|
||||
public class HT_HISTORY_CHARTEntity
|
||||
[TenantAttribute("1")]
|
||||
public class HT_HISTORY_CHARTEntity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
|
@ -10,7 +10,8 @@ namespace HT.Cloud.Domain.ChartsManage
|
||||
/// 描 述:历史趋势实体类
|
||||
/// </summary>
|
||||
[SugarTable("htb_historycharts")]
|
||||
public class HistoryChartsEntity
|
||||
[TenantAttribute("1")]
|
||||
public class HistoryChartsEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// ID
|
||||
|
@ -10,7 +10,8 @@ namespace HT.Cloud.Domain.ChartsManage
|
||||
/// 描 述:历史趋势实体类
|
||||
/// </summary>
|
||||
[SugarTable("htb_historytechcharts")]
|
||||
public class HistoryTechChartsEntity
|
||||
[TenantAttribute("1")]
|
||||
public class HistoryTechChartsEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// ID
|
||||
|
@ -10,7 +10,8 @@ namespace HT.Cloud.Domain.ChartsManage
|
||||
/// 描 述:历史趋势实体类
|
||||
/// </summary>
|
||||
[SugarTable("htb_rttechcharts")]
|
||||
public class RtTechChartsEntity
|
||||
[TenantAttribute("1")]
|
||||
public class RtTechChartsEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// ID
|
||||
|
@ -10,7 +10,8 @@ namespace HT.Cloud.Domain.ChartsManage
|
||||
/// 描 述:实时趋势实体类
|
||||
/// </summary>
|
||||
[SugarTable("htb_rtcharts")]
|
||||
public class RtchartsEntity
|
||||
[TenantAttribute("1")]
|
||||
public class RtchartsEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// ID
|
||||
|
@ -10,6 +10,7 @@ namespace HT.Cloud.Domain.ContentManage
|
||||
/// 描 述:新闻类别实体类
|
||||
/// </summary>
|
||||
[SugarTable("cms_articlecategory")]
|
||||
[TenantAttribute("0")]
|
||||
public class ArticleCategoryEntity : IEntity<ArticleCategoryEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -10,6 +10,7 @@ namespace HT.Cloud.Domain.ContentManage
|
||||
/// 描 述:新闻管理实体类
|
||||
/// </summary>
|
||||
[SugarTable("cms_articlenews")]
|
||||
[TenantAttribute("0")]
|
||||
public class ArticleNewsEntity : IEntity<ArticleNewsEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -10,7 +10,8 @@ namespace HT.Cloud.Domain.DevicesManage
|
||||
/// 描 述:设备硬件连接参数表实体类
|
||||
/// </summary>
|
||||
[SugarTable("Argument")]
|
||||
public class ArgumentEntity
|
||||
[TenantAttribute("1")]
|
||||
public class ArgumentEntity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
|
@ -10,7 +10,8 @@ namespace HT.Cloud.Domain.DevicesManage
|
||||
/// 描 述:设备信息列表实体类
|
||||
/// </summary>
|
||||
[SugarTable("Meta_Driver")]
|
||||
public class MetaDriverEntity
|
||||
[TenantAttribute("1")]
|
||||
public class MetaDriverEntity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
|
@ -10,7 +10,8 @@ namespace HT.Cloud.Domain.DevicesManage
|
||||
/// 描 述:变量组信息表实体类
|
||||
/// </summary>
|
||||
[SugarTable("Meta_Group")]
|
||||
public class MetaGroupEntity
|
||||
[TenantAttribute("1")]
|
||||
public class MetaGroupEntity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
|
@ -10,7 +10,8 @@ namespace HT.Cloud.Domain.DevicesManage
|
||||
/// 描 述:变量信息表实体类
|
||||
/// </summary>
|
||||
[SugarTable("Meta_Tag")]
|
||||
public class MetaTagEntity
|
||||
[TenantAttribute("1")]
|
||||
public class MetaTagEntity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
|
@ -10,7 +10,8 @@ namespace HT.Cloud.Domain.DevicesManage
|
||||
/// 描 述:设备报警信息实体类
|
||||
/// </summary>
|
||||
[SugarTable("Meta_Tag_Scope")]
|
||||
public class MetaTagScopeEntity
|
||||
[TenantAttribute("1")]
|
||||
public class MetaTagScopeEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// TagID
|
||||
|
@ -9,6 +9,7 @@ namespace HT.Cloud.Domain.FileManage
|
||||
/// 描 述:文件管理实体类
|
||||
/// </summary>
|
||||
[SugarTable("oms_uploadfile")]
|
||||
[TenantAttribute("0")]
|
||||
public class UploadfileEntity : IEntity<UploadfileEntity>, ICreationAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -16,6 +16,7 @@ namespace HT.Cloud.Domain.FlowManage
|
||||
/// 工作流实例操作记录
|
||||
/// </summary>
|
||||
[SugarTable("oms_flowinstanceinfo")]
|
||||
[TenantAttribute("0")]
|
||||
public class FlowInstanceOperationHistory
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -16,6 +16,7 @@ namespace HT.Cloud.Domain.FlowManage
|
||||
/// 工作流实例流转历史记录
|
||||
/// </summary>
|
||||
[SugarTable("oms_flowinstancehis")]
|
||||
[TenantAttribute("0")]
|
||||
public class FlowInstanceTransitionHistory
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -10,6 +10,7 @@ namespace HT.Cloud.Domain.FlowManage
|
||||
/// 描 述:我的流程实体类
|
||||
/// </summary>
|
||||
[SugarTable("oms_flowinstance")]
|
||||
[TenantAttribute("0")]
|
||||
public class FlowinstanceEntity : IEntity<FlowinstanceEntity>, ICreationAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -11,6 +11,7 @@ using System;
|
||||
namespace HT.Cloud.Domain.FlowManage
|
||||
{
|
||||
[SugarTable("oms_formtest")]
|
||||
[TenantAttribute("0")]
|
||||
public class FormTestEntity : IEntity<FormTestEntity>, ICreationAudited
|
||||
{
|
||||
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
|
||||
|
@ -10,6 +10,7 @@ namespace HT.Cloud.Domain.InfoManage
|
||||
/// 描 述:通知管理实体类
|
||||
/// </summary>
|
||||
[SugarTable("oms_message")]
|
||||
[TenantAttribute("0")]
|
||||
public class MessageEntity : IEntity<MessageEntity>, ICreationAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -9,6 +9,7 @@ namespace HT.Cloud.Domain.InfoManage
|
||||
/// 描 述:信息历史实体类
|
||||
/// </summary>
|
||||
[SugarTable("oms_messagehis")]
|
||||
[TenantAttribute("0")]
|
||||
public class MessageHistoryEntity : IEntity<MessageHistoryEntity>, ICreationAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -9,6 +9,7 @@ namespace HT.Cloud.Domain.OrderManagement
|
||||
/// 描 述:订单明细实体类
|
||||
/// </summary>
|
||||
[SugarTable("crm_orderdetail")]
|
||||
[TenantAttribute("0")]
|
||||
public class OrderDetailEntity : IEntity<OrderDetailEntity>, ICreationAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -10,6 +10,7 @@ namespace HT.Cloud.Domain.OrderManagement
|
||||
/// 描 述:订单管理实体类
|
||||
/// </summary>
|
||||
[SugarTable("crm_order")]
|
||||
[TenantAttribute("0")]
|
||||
public class OrderEntity : IEntity<OrderEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -10,7 +10,8 @@ namespace HT.Cloud.Domain.ReportManage
|
||||
/// 描 述:报警信息变量表实体类
|
||||
/// </summary>
|
||||
[SugarTable("HT_HISTORY_ALARM")]
|
||||
public class HistoryAlarmEntity
|
||||
[TenantAttribute("1")]
|
||||
public class HistoryAlarmEntity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
|
@ -10,7 +10,8 @@ namespace HT.Cloud.Domain.ReportManage
|
||||
/// 描 述:历史报表实体类
|
||||
/// </summary>
|
||||
[SugarTable("htb_historyreport")]
|
||||
public class HistoryReportEntity
|
||||
[TenantAttribute("1")]
|
||||
public class HistoryReportEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// ID
|
||||
|
@ -10,7 +10,8 @@ namespace HT.Cloud.Domain.ReportManage
|
||||
/// 描 述:历史信息表实体类
|
||||
/// </summary>
|
||||
[SugarTable("HT_HISTORY_REPORT")]
|
||||
public class Ht_History_ReportEntity
|
||||
[TenantAttribute("1")]
|
||||
public class Ht_History_ReportEntity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
|
@ -10,7 +10,8 @@ namespace HT.Cloud.Domain.ReportManage
|
||||
/// 描 述:报警变量表实体类
|
||||
/// </summary>
|
||||
[SugarTable("Meta_Tag_Alarm")]
|
||||
public class MetaTagAlarmEntity
|
||||
[TenantAttribute("1")]
|
||||
public class MetaTagAlarmEntity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
|
@ -10,7 +10,8 @@ namespace HT.Cloud.Domain.ReportManage
|
||||
/// 描 述:实时报表SQL转换实体类
|
||||
/// </summary>
|
||||
[SugarTable("HT_RT_REPORT")]
|
||||
public class RtReportEntity
|
||||
[TenantAttribute("1")]
|
||||
public class RtReportEntity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
|
@ -12,6 +12,7 @@ using System.ComponentModel.DataAnnotations;
|
||||
namespace HT.Cloud.Domain.SystemManage
|
||||
{
|
||||
[SugarTable("sys_area")]
|
||||
[TenantAttribute("0")]
|
||||
public class AreaEntity : IEntity<AreaEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -9,7 +9,8 @@ namespace HT.Cloud.Domain.SystemManage
|
||||
/// 描 述:条码生成记录实体类
|
||||
/// </summary>
|
||||
[SugarTable("sys_codegeneratelog")]
|
||||
public class CodegeneratelogEntity : IEntity<CodegeneratelogEntity>,ICreationAudited,IModificationAudited,IDeleteAudited
|
||||
[TenantAttribute("0")]
|
||||
public class CodegeneratelogEntity : IEntity<CodegeneratelogEntity>,ICreationAudited,IModificationAudited,IDeleteAudited
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
|
@ -9,7 +9,8 @@ namespace HT.Cloud.Domain.SystemManage
|
||||
/// 描 述:条码规则实体类
|
||||
/// </summary>
|
||||
[SugarTable("sys_coderule")]
|
||||
public class CoderuleEntity : IEntity<CoderuleEntity>,ICreationAudited,IModificationAudited,IDeleteAudited
|
||||
[TenantAttribute("0")]
|
||||
public class CoderuleEntity : IEntity<CoderuleEntity>,ICreationAudited,IModificationAudited,IDeleteAudited
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
|
@ -10,7 +10,8 @@ namespace HT.Cloud.Domain.SystemManage
|
||||
/// 描 述:条码规则计数实体类
|
||||
/// </summary>
|
||||
[SugarTable("sys_coderulelog")]
|
||||
public class CoderulelogEntity
|
||||
[TenantAttribute("0")]
|
||||
public class CoderulelogEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
|
@ -10,6 +10,7 @@ namespace HT.Cloud.Domain.SystemManage
|
||||
/// 描 述:流程设计实体类
|
||||
/// </summary>
|
||||
[SugarTable("sys_flowscheme")]
|
||||
[TenantAttribute("0")]
|
||||
public class FlowschemeEntity : IEntity<FlowschemeEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -10,6 +10,7 @@ namespace HT.Cloud.Domain.SystemManage
|
||||
/// 描 述:表单设计实体类
|
||||
/// </summary>
|
||||
[SugarTable("sys_form")]
|
||||
[TenantAttribute("0")]
|
||||
public class FormEntity : IEntity<FormEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -12,6 +12,7 @@ using System.ComponentModel.DataAnnotations;
|
||||
namespace HT.Cloud.Domain.SystemManage
|
||||
{
|
||||
[SugarTable("sys_itemsdetail")]
|
||||
[TenantAttribute("0")]
|
||||
public class ItemsDetailEntity : IEntity<ItemsDetailEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -12,6 +12,7 @@ using System.ComponentModel.DataAnnotations;
|
||||
namespace HT.Cloud.Domain.SystemManage
|
||||
{
|
||||
[SugarTable("sys_items")]
|
||||
[TenantAttribute("0")]
|
||||
public class ItemsEntity : IEntity<ItemsEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -12,6 +12,7 @@ using System.ComponentModel.DataAnnotations;
|
||||
namespace HT.Cloud.Domain.SystemManage
|
||||
{
|
||||
[SugarTable("sys_modulebutton")]
|
||||
[TenantAttribute("0")]
|
||||
public class ModuleButtonEntity : IEntity<ModuleButtonEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -12,6 +12,7 @@ using System.ComponentModel.DataAnnotations;
|
||||
namespace HT.Cloud.Domain.SystemManage
|
||||
{
|
||||
[SugarTable("sys_module")]
|
||||
[TenantAttribute("0")]
|
||||
public class ModuleEntity : IEntity<ModuleEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -10,6 +10,7 @@ namespace HT.Cloud.Domain.SystemManage
|
||||
/// 描 述:字段管理实体类
|
||||
/// </summary>
|
||||
[SugarTable("sys_modulefields")]
|
||||
[TenantAttribute("0")]
|
||||
public class ModuleFieldsEntity : IEntity<ModuleFieldsEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -16,6 +16,7 @@ namespace HT.Cloud.Domain.SystemManage
|
||||
/// QuickModule Entity Model
|
||||
/// </summary>
|
||||
[SugarTable("sys_quickmodule")]
|
||||
[TenantAttribute("0")]
|
||||
public class QuickModuleEntity : IEntity<QuickModuleEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -9,7 +9,8 @@ namespace HT.Cloud.Domain.SystemManage
|
||||
/// 描 述:打印模板实体类
|
||||
/// </summary>
|
||||
[SugarTable("sys_template")]
|
||||
public class TemplateEntity : IEntity<TemplateEntity>,ICreationAudited,IModificationAudited,IDeleteAudited
|
||||
[TenantAttribute("0")]
|
||||
public class TemplateEntity : IEntity<TemplateEntity>,ICreationAudited,IModificationAudited,IDeleteAudited
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
|
@ -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>
|
||||
|
@ -15,6 +15,7 @@ namespace HT.Cloud.Domain.SystemSecurity
|
||||
/// IP过滤实体
|
||||
/// </summary>
|
||||
[SugarTable("sys_filterip")]
|
||||
[TenantAttribute("0")]
|
||||
public class FilterIPEntity : IEntity<FilterIPEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -14,6 +14,7 @@ namespace HT.Cloud.Domain.SystemSecurity
|
||||
/// 日志实体
|
||||
/// </summary>
|
||||
[SugarTable("sys_log")]
|
||||
[TenantAttribute("0")]
|
||||
public class LogEntity : IEntity<LogEntity>, ICreationAudited
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -19,6 +19,7 @@ namespace HT.Cloud.Domain.SystemSecurity
|
||||
/// </summary>
|
||||
[SugarTable("sys_openjob")]
|
||||
[Tenant("0")]
|
||||
//[TenantAttribute("0")]
|
||||
public partial class OpenJobEntity : IEntity<OpenJobEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
|
||||
{
|
||||
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
|
||||
|
@ -17,6 +17,7 @@ namespace HT.Cloud.Domain.SystemSecurity
|
||||
/// </summary>
|
||||
[SugarTable("sys_openjoblog")]
|
||||
[Tenant("0")]
|
||||
//[TenantAttribute("0")]
|
||||
public partial class OpenJobLogEntity : IEntity<OpenJobEntity>
|
||||
{
|
||||
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
|
||||
|
@ -16,6 +16,7 @@ namespace HT.Cloud.Domain.SystemSecurity
|
||||
/// ServerState Entity Model
|
||||
/// </summary>
|
||||
[SugarTable("sys_serverstate")]
|
||||
[TenantAttribute("0")]
|
||||
public class ServerStateEntity : IEntity<ServerStateEntity>
|
||||
{
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user