Files
MilkyShots/Butter/Dtos/Folder/FolderFullDto.cs
T

24 lines
810 B
C#

namespace Butter.Dtos.Folder;
/// <summary>
/// Represents the full details of a folder.
/// </summary>
public class FolderFullDto {
/// <summary>
/// Gets or sets the unique identifier of the folder.
/// </summary>
public Guid Id { get; set; }
/// <summary>
/// Gets or sets the base path of the folder on disk.
/// </summary>
public string BasePath { get; set; } = string.Empty;
/// <summary>
/// Gets or sets whether the folder is active for scanning.
/// </summary>
public bool Active { get; set; }
/// <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; }
}