using Models;
using OpenAuth.Repository.Domain;
using OpenAuth.Repository.Domain.DataMaintenance;
using OpenAuth.Repository.Domain.FireManagement;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenAuth.Repository
{
    public class SugarDbContext : SugarUnitOfWork
    {
        public SugarRepositiry<SysAppFiles> SysAppFiles { get; set; }
        public SugarRepositiry<SysUser> User { get; set; }

        public SugarRepositiry<SysRole> Role { get; set; }
        public SugarRepositiry<SysRelevance> Relevance { get; set; }
        public SugarRepositiry<SysCategoryType> CategoryType { get; set; }
        public SugarRepositiry<SysCategory> Category { get; set; }
        public SugarRepositiry<SysModule> Module { get; set; }
        public SugarRepositiry<SysModuleElement> ModuleElement { get; set; }
        public SugarRepositiry<SysOrg> SysOrg { get; set; }

        public SugarRepositiry<SysUserOrg> SysUserOrg { get; set; }
        public SugarRepositiry<SysUserRole> SysUserRole { get; set; }

        public SugarRepositiry<SysRoleModule> SysRoleModule { get; set; }
        public SugarRepositiry<SysRoleElement> SysRoleElement { get; set; }

        public SugarRepositiry<SysDataItem> SysDataItem { get; set; }
        public SugarRepositiry<SysCodeRuleSeed> SysCodeRuleSeed { get; set; }
        public SugarRepositiry<DbCodeColumns> DbCodeColumns { get; set; }
        public SugarRepositiry<DataSource> DataSource { get; set; }


        public SugarRepositiry<SysDataItemDetail> SysDataItemDetail { get; set; }
        public SugarRepositiry<FormSchemeInfo> SchemeInfo { get; set; }
        public SugarRepositiry<FormScheme> Scheme { get; set; }
        public SugarRepositiry<FormDataHistory> FormDataHistory { get; set; }
        public SugarRepositiry<SysModule> SysModule { get; set; }
        public SugarRepositiry<SysModuleColumn> SysModuleColumn { get; set; }
        public SugarRepositiry<SysModuleElement> SysModuleElement { get; set; }
        public SugarRepositiry<SysModuleForm> SysModuleForm { get; set; }
        public SugarRepositiry<FormModuleEntity> FormModuleEntity { get; set; }
        public SugarRepositiry<SysDatabaseLink> SysDatabaseLink { get; set; }
        public SugarRepositiry<SysFrontendSettingConfig> SysFrontendSettingConfig { get; set; }


        public SugarRepositiry<WFScheme> WFScheme { get; set; }
        public SugarRepositiry<WFSchemeInfo> WFSchemeInfo { get; set; }
        public SugarRepositiry<WFSchemeAuth> WFSchemeAuth { get; set; }
        public SugarRepositiry<WFProcess> WFProcess { get; set; }
        public SugarRepositiry<WFTask> WFTask { get; set; }
        public SugarRepositiry<WFTaskLog> WFTaskLog { get; set; }
        public SugarRepositiry<WFDelegateRule> WFDelegateRule { get; set; }
        public SugarRepositiry<WFDelegateRelation> WFDelegateRelation { get; set; }
        public SugarRepositiry<WFTaskUser> WFTaskUser { get; set; }

        public SugarRepositiry<ExcelImport> ExcelImport { get; set; }
        public SugarRepositiry<ExcelImportFileds> ExcelImportFileds { get; set; }
        public SugarRepositiry<ImMsg> ImMsg { get; set; }

        #region 数据维护实体类
        public SugarRepositiry<ApplicationData> ApplicationData { get; set; }
        #endregion

        #region 防火平台实体类
        public SugarRepositiry<FmFireclueTask> FmFireclueTask { get; set; }
        public SugarRepositiry<FmFireTaskUser> FmFireTaskUser { get; set; }
        public SugarRepositiry<FmUserUnit> FmUserUnit { get; set; }
        public SugarRepositiry<FmFireclueInfo> FmFireclueInfo { get; set; }
        public SugarRepositiry<FmCheckInPoint> FmCheckInPoint { get; set; }
        public SugarRepositiry<FmCheckPointUser> FmCheckPointUser { get; set; }
        public SugarRepositiry<FmCheckArea> FmCheckArea { get; set; }
        public SugarRepositiry<FmCheckClockOn> FmCheckClockOn { get; set; }
        public SugarRepositiry<FmUserTimeSlot> FmUserTimeSlot { get; set; }
        public SugarRepositiry<FmUserPoint> FmUserPoint { get; set; }
        public SugarRepositiry<FmUserPointHistory> FmUserPointHistory { get; set; }
        public SugarRepositiry<FmFireclueinfoLog> FmFireclueinfoLog { get; set; }
        public SugarRepositiry<FmEnteringInfo> FmEnteringInfo { get; set; }
        public SugarRepositiry<FmSiteInfo> FmSiteInfo { get; set; }
        public SugarRepositiry<FmSiteUser> FmSiteUser { get; set; }
        public SugarRepositiry<FmCamera> FmCamera { get; set; }
        public SugarRepositiry<FmCamera_yjj> FmCamera_yjj { get; set; }
        public SugarRepositiry<FmPreventionplan> FmPreventionplan { get; set; }
        public SugarRepositiry<FmPrePlanGeom> FmPrePlanGeom { get; set; }
        public SugarRepositiry<FmInterphonePoint> FmInterphonePoint { get; set; }
        public SugarRepositiry<FmOnOffLine> FmOnOffLine { get; set; }

        #endregion

        public SugarRepositiry<DmModule> DmModule { get; set; }
        public SugarRepositiry<DmModulecolumn> DmModulecolumn { get; set; }
    }
}
