1
0
mirror of synced 2024-11-27 23:50:49 +01:00
GC-local-server-rewrite/Application/Mappers/CardBDatumMapper.cs
2023-02-16 16:53:02 +08:00

16 lines
634 B
C#

using Domain.Entities;
using Riok.Mapperly.Abstractions;
namespace Application.Mappers;
[Mapper]
public static partial class CardBDatumMapper
{
[MapProperty(nameof(CardBdatum.Bdata), nameof(CardBDatumDto.CardBdata))]
[MapProperty(nameof(CardBdatum.BdataSize), nameof(CardBDatumDto.BDataSize))]
public static partial CardBDatumDto CardBDatumToDto(this CardBdatum cardBdatum);
[MapProperty(nameof(CardBDatumDto.CardBdata), nameof(CardBdatum.Bdata))]
[MapProperty(nameof(CardBDatumDto.BDataSize), nameof(CardBdatum.BdataSize))]
public static partial CardBdatum DtoToCardBDatum(this CardBDatumDto dto);
}