Files
MilkyShots/Butter/Dtos/Folder/FolderCreateDto.cs

16 lines
544 B
C#

namespace Butter.Dtos.Folder;
/// <summary>
/// Represents the data needed to create a new folder.
/// </summary>
public class FolderCreateDto {
/// <summary>
/// Gets or sets the base path of the folder on disk.
/// </summary>
public string BasePath { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the regex pattern used to extract person and group names from asset paths.
/// Must contain named groups <c>person</c> and <c>group</c>.
/// </summary>
public string? RegexPattern { get; set; }
}