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