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

16 lines
443 B
C#
Raw Normal View History

2023-12-05 09:22:48 +00:00
using AutoMapper;
using ZeroFramework.DeviceCenter.Application.Models.Tenants;
using ZeroFramework.DeviceCenter.Domain.Aggregates.TenantAggregate;
namespace ZeroFramework.DeviceCenter.Application.AutoMapper
{
public class TeantsProfile : Profile
{
public TeantsProfile()
{
CreateMap<Tenant, TenantGetResponseModel>();
CreateMap<TenantCreateOrUpdateRequestModel, Tenant>();
}
}
}