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

20 lines
686 B
C#

namespace Butter.Dtos.Folder;
/// <summary>
/// Represents the data needed to update an existing folder.
/// </summary>
public class FolderUpdateDto {
/// <summary>
/// Gets or sets the base path of the folder.
/// </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; }
}