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<SysDataItemDetail> SysDataItemDetail { 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<SysDatabaseLink> SysDatabaseLink { get; set; }
        public SugarRepositiry<PpAnnouncement> PpAnnouncement { get; set; }
        public SugarRepositiry<PpBiddingagency> PpBiddingagency { get; set; }
        public SugarRepositiry<PpAgencyaccount> PpAgencyaccount { get; set; }
        public SugarRepositiry<PpCompanyaccount> PpCompanyaccount { get; set; }
        public SugarRepositiry<PpBiddingsupplier> PpBiddingsupplier { get; set; }
        public SugarRepositiry<PpBidagencycompany> PpBidagencycompany { get; set; }
        public SugarRepositiry<PpCompanyinfo> PpCompanyinfo { get; set; }
        public SugarRepositiry<PpBiddingcompany> PpBiddingcompany { get; set; }
        public SugarRepositiry<PpRegistration> PpRegistration { get; set; }
        public SugarRepositiry<PpBiddinginfo> PpBiddinginfo { get; set; }

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