namespace Butter.Dtos.Asset;
///
/// Represents the minimum information needed to display an asset in a list.
///
public class AssetPreviewDto {
///
/// Gets or sets the unique identifier of the asset.
///
public Guid Id { get; set; }
///
/// Gets or sets the MIME type of the asset.
///
public string MimeType { get; set; } = string.Empty;
///
/// Gets or sets the resolution width of the asset in pixels.
///
public int ResolutionWidth { get; set; }
///
/// Gets or sets the resolution height of the asset in pixels.
///
public int ResolutionHeight { get; set; }
///
/// Gets or sets whether the asset has a generated thumbnail.
///
public bool HasThumbnail { get; set; }
///
/// Gets or sets whether the asset has a generated preview.
///
public bool HasPreview { get; set; }
///
/// Gets or sets the list of album titles associated with the asset.
///
public List? AlbumNames { get; set; }
///
/// Gets or sets the list of album IDs associated with the asset, parallel to .
///
public List? AlbumIds { get; set; }
///
/// Gets or sets the list of cosplayer names associated with the asset, derived from album person owners.
///
public List? CosplayerNames { get; set; }
///
/// Gets or sets the list of cosplayer IDs associated with the asset, parallel to .
///
public List? CosplayerIds { get; set; }
///
/// Gets or sets the original filename of the asset.
///
public string? FileName { get; set; }
}