|
|
|
using Volo.Abp.Autofac;
|
|
|
|
using Volo.Abp.AutoMapper;
|
|
|
|
using Volo.Abp.Domain.Entities.Events.Distributed;
|
|
|
|
using Volo.Abp.Modularity;
|
|
|
|
using Win_in.Sfs.Scp.v1.Domain;
|
|
|
|
using Win_in.Sfs.Scp.v1.EntityFrameworkCore;
|
|
|
|
using Win_in.Sfs.Scp.WebApi;
|
|
|
|
|
|
|
|
namespace Win_in.Sfs.Scp.v1.Event
|
|
|
|
{
|
|
|
|
[DependsOn(
|
|
|
|
typeof(AbpAutofacModule),
|
|
|
|
typeof(AbpAutoMapperModule),
|
|
|
|
typeof(V1ScpDomainModule),
|
|
|
|
typeof(WebApiDomainModule),
|
|
|
|
typeof(V1ScpEntityFrameworkCoreModule)
|
|
|
|
)]
|
|
|
|
public class V1ScpEventModule : AbpModule
|
|
|
|
{
|
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
|
|
{
|
|
|
|
Configure<AbpAutoMapperOptions>(options =>
|
|
|
|
{
|
|
|
|
options.AddMaps<V1ScpEventModule>();
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|