zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.Application/AutoMapper/MonitoringProfile.cs
2023-12-05 17:22:48 +08:00

17 lines
569 B
C#

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>();
}
}
}