zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.Application/AutoMapper/MonitoringProfile.cs

17 lines
569 B
C#
Raw Normal View History

2023-12-05 09:22:48 +00:00
using AutoMapper;
using ZeroFramework.DeviceCenter.Application.Models.Monitoring;
using ZeroFramework.DeviceCenter.Domain.Aggregates.MonitoringAggregate;
namespace ZeroFramework.DeviceCenter.Application.AutoMapper
{
public class MonitoringProfile : Profile
{
public MonitoringProfile()
{
CreateMap<MonitoringFactor, MonitoringFactorGetResponseModel>();
CreateMap<MonitoringFactorCreateRequestModel, MonitoringFactor>();
CreateMap<MonitoringFactorUpdateRequestModel, MonitoringFactor>();
}
}
}