2023-02-13 17:38:19 +01:00
|
|
|
|
using Application.Dto;
|
|
|
|
|
using Domain.Entities;
|
|
|
|
|
using Riok.Mapperly.Abstractions;
|
|
|
|
|
|
|
|
|
|
namespace Application.Mappers;
|
|
|
|
|
|
|
|
|
|
[Mapper]
|
|
|
|
|
public static partial class CardBDatumMapper
|
|
|
|
|
{
|
2023-02-16 08:26:13 +01:00
|
|
|
|
[MapProperty(nameof(CardBdatum.Bdata), nameof(CardBDatumDto.CardBdata))]
|
|
|
|
|
[MapProperty(nameof(CardBdatum.BdataSize), nameof(CardBDatumDto.BDataSize))]
|
2023-02-13 17:38:19 +01:00
|
|
|
|
public static partial CardBDatumDto CardBDatumToDto(this CardBdatum cardBdatum);
|
2023-02-13 19:47:08 +01:00
|
|
|
|
|
2023-02-16 08:26:13 +01:00
|
|
|
|
[MapProperty(nameof(CardBDatumDto.CardBdata), nameof(CardBdatum.Bdata))]
|
|
|
|
|
[MapProperty(nameof(CardBDatumDto.BDataSize), nameof(CardBdatum.BdataSize))]
|
2023-02-13 19:47:08 +01:00
|
|
|
|
public static partial CardBdatum DtoToCardBDatum(this CardBDatumDto dto);
|
2023-02-13 17:38:19 +01:00
|
|
|
|
}
|