using OpenAuth.Repository.Domain;
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<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<LasaUav> LasaUav { get; set; }
        public SugarRepositiry<LasaDronePort> LasaDronePort‌ { get; set; }
        public SugarRepositiry<LasaTask> LasaTask { get; set; }
        public SugarRepositiry<LasaAirLine> LasaAirLine { get; set; }
        public SugarRepositiry<LasaWorkspace> LasaWorkspace { get; set; }
        public SugarRepositiry<LasaShpData> LasaShpData { get; set; }
        public SugarRepositiry<LasaAnnotation> LasaAnnotation { get; set; }
        public SugarRepositiry<LasaSpaceUser> LasaSpaceUser { get; set; }
        public SugarRepositiry<LasaSpaceDevice> LasaSpaceDevice { get; set; }
        public SugarRepositiry<LasaSpaceLockFly> LasaSpaceLockFly { get; set; }
        
        public SugarRepositiry<LasaDeviceBindingCode> LasaDeviceBindingCode { get; set; }
        public SugarRepositiry<LasaGateway> LasaGateway { get; set; }
        public SugarRepositiry<LasaManageDeviceHms> LasaManageDeviceHms { get; set; }
        public SugarRepositiry<LasaLog> LasaLog { get; set; }
        public SugarRepositiry<LasaFirmware> LasaFirmware { get; set; }
        public SugarRepositiry<LasaDeviceDictionary> LasaDeviceDictionary { get; set; }
        public SugarRepositiry<DroneDocktaskdetail> DroneDocktaskdetail { get; set; }
        public SugarRepositiry<DroneDocktask> DroneDocktask { get; set; }

        public SugarRepositiry<LasaMediaFile> LasaMediaFile { get; set; }
        public SugarRepositiry<LasaAlgorithmsRepository> LasaAlgorithmsRepository { get; set; }
        public SugarRepositiry<LasaModelLabel> LasaModelLabel { get; set; }

        public SugarRepositiry<DbfineInfo> DbfineInfo { get; set; }
        public SugarRepositiry<SysOpenJob> SysOpenJob { get; set; }
        #endregion
    }
}
