using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace API.Controllers.DTOs; /// /// DTO /// public sealed record AltTitle(string Language, string Title) { /// /// Language of the Title /// [Required] [Description("Language of the Title")] public string Language { get; init; } = Language; /// /// Title /// [Required] [Description("Title")] public string Title { get; init; } = Title; }