14 lines
438 B
C#
14 lines
438 B
C#
using Riok.Mapperly.Abstractions;
|
|
using Store.Shops.Dtos;
|
|
using Store.Shops.Entities;
|
|
|
|
namespace Store.Shops.Mappers;
|
|
|
|
/// <summary>输出字段由 DTO 白名单限定,不映射列表凭据。</summary>
|
|
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
|
|
internal partial class ShopMapper
|
|
{
|
|
public partial ShopInfo ToInfo(PddShopEntity shop);
|
|
public partial ShopClientInfo ToClientInfo(ShopApiAuthEntity auth);
|
|
}
|