mirror of
https://github.com/C9Glax/tranga.git
synced 2025-10-11 13:19:48 +02:00
@@ -3,19 +3,19 @@ using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace API.Controllers.Requests;
|
||||
|
||||
public sealed record CreateLibraryRecord(string BasePath, string LibraryName)
|
||||
public sealed record CreateLibraryRecord
|
||||
{
|
||||
/// <summary>
|
||||
/// The directory Path of the library
|
||||
/// </summary>
|
||||
[Required]
|
||||
[Description("The directory Path of the library")]
|
||||
public string BasePath { get; init; } = BasePath;
|
||||
public required string BasePath { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// The Name of the library
|
||||
/// </summary>
|
||||
[Required]
|
||||
[Description("The Name of the library")]
|
||||
public string LibraryName { get; init; } = LibraryName;
|
||||
public required string LibraryName { get; init; }
|
||||
}
|
Reference in New Issue
Block a user