2023-02-16 09:53:02 +01:00
|
|
|
|
using Domain.Entities;
|
2023-02-12 19:40:40 +01:00
|
|
|
|
using Riok.Mapperly.Abstractions;
|
|
|
|
|
|
|
|
|
|
namespace Application.Mappers;
|
|
|
|
|
|
|
|
|
|
[Mapper]
|
|
|
|
|
public static partial class MusicMapper
|
|
|
|
|
{
|
|
|
|
|
public static partial MusicDto MusicToDto(this MusicUnlock music);
|
|
|
|
|
|
|
|
|
|
private static int BoolToInt(bool value) => value ? 1 : 0;
|
|
|
|
|
}
|