using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace API.Controllers.Requests; public sealed record CreateLibraryRecord { /// /// The directory Path of the library /// [Required] [Description("The directory Path of the library")] public required string BasePath { get; init; } /// /// The Name of the library /// [Required] [Description("The Name of the library")] public required string LibraryName { get; init; } }