JiShe.IOT.Admin/src/JiShe.IoT.Domain/IoTDomainModule.cs

25 lines
926 B
C#
Raw Normal View History

2025-05-27 14:02:24 +08:00
using JiShe.ServicePro.CodeManagement;
using JiShe.ServicePro.DynamicMenuManagement;
using JiShe.ServicePro.TemplateManagement;
2025-05-27 14:27:50 +08:00
namespace JiShe.IoT
2025-05-27 14:02:24 +08:00
{
[DependsOn(
2025-05-27 14:27:50 +08:00
typeof(IoTDomainSharedModule),
2025-05-27 14:02:24 +08:00
typeof(BasicManagementDomainModule),
typeof(NotificationManagementDomainModule),
typeof(DataDictionaryManagementDomainModule),
typeof(LanguageManagementDomainModule),
typeof(CodeManagementDomainModule),
typeof(TemplateManagementDomainModule),
typeof(DynamicMenuManagementDomainModule)
)]
2025-05-27 14:27:50 +08:00
public class IoTDomainModule : AbpModule
2025-05-27 14:02:24 +08:00
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<AbpMultiTenancyOptions>(options => { options.IsEnabled = MultiTenancyConsts.IsEnabled; });
2025-05-27 14:27:50 +08:00
Configure<AbpAutoMapperOptions>(options => { options.AddMaps<IoTDomainModule>(); });
2025-05-27 14:02:24 +08:00
}
}
}