using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using API.Schema.MangaContext;
namespace API.Controllers.DTOs;
///
/// Shortened Version of
///
public record MinimalManga(string Key, string Name, string Description, MangaReleaseStatus ReleaseStatus, IEnumerable MangaConnectorIds) : Identifiable(Key)
{
///
/// Name of the Manga
///
[Required]
[Description("Name of the Manga")]
public string Name { get; init; } = Name;
///
/// Description of the Manga
///
[Required]
[Description("Description of the Manga")]
public string Description { get; init; } = Description;
///
/// ReleaseStatus of the Manga
///
[Required]
[Description("ReleaseStatus of the Manga")]
public MangaReleaseStatus ReleaseStatus { get; init; } = ReleaseStatus;
///
/// Ids of the Manga on MangaConnectors
///
[Required]
[Description("Ids of the Manga on MangaConnectors")]
public IEnumerable MangaConnectorIds { get; init; } = MangaConnectorIds;
}