42 lines
1.4 KiB
C#
42 lines
1.4 KiB
C#
using Butter.Types;
|
|
|
|
namespace Butter.Dtos.Person;
|
|
|
|
/// <summary>
|
|
/// Represents a summary view of a person.
|
|
/// </summary>
|
|
public class PersonPreviewDto {
|
|
/// <summary>
|
|
/// Gets or sets the unique identifier of the person.
|
|
/// </summary>
|
|
public required Guid Id { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the name of the person.
|
|
/// </summary>
|
|
public required string Name { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the asset ID used as the profile picture.
|
|
/// </summary>
|
|
public Guid? ProfileAssetId { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the horizontal crop offset for the profile picture.
|
|
/// </summary>
|
|
public float? ProfileCropX { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the vertical crop offset for the profile picture.
|
|
/// </summary>
|
|
public float? ProfileCropY { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the zoom level for the profile picture.
|
|
/// </summary>
|
|
public float? ProfileCropZoom { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the number of albums associated with this person.
|
|
/// </summary>
|
|
public int TotalAlbums { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the visibility level. Only populated for curators and admins.
|
|
/// </summary>
|
|
public EVisibility? Visibility { get; set; }
|
|
}
|