Files
MilkyShots/Butter/Dtos/Album/AlbumSearchParametersDto.cs
T

23 lines
716 B
C#

namespace Butter.Dtos.Album;
/// <summary>
/// Search and filter parameters for album queries.
/// </summary>
public class AlbumSearchParametersDto : PagedSearchParametersDto {
/// <summary>
/// Gets or sets whether to return only albums with no person assigned.
/// </summary>
public bool Unassigned { get; set; }
/// <summary>
/// Gets or sets the user ID to filter albums by.
/// Only returns albums that contain at least one asset uploaded by the specified user.
/// </summary>
public Guid? AssetUploadedBy { get; set; }
/// <summary>
/// Gets or sets the person ID to filter albums by their owner.
/// </summary>
public Guid? PersonOwnerId { get; set; }
}