feat: add DTOs for basic endpoints
This commit is contained in:
11
DTOs/AlbumList2DTO.cs
Normal file
11
DTOs/AlbumList2DTO.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace Shadow.DTOs;
|
||||
|
||||
public class AlbumList2DTO
|
||||
{
|
||||
[JsonPropertyName("album")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public List<AlbumViewShortDTO>? album { get; set; } = null;
|
||||
}
|
||||
Reference in New Issue
Block a user