diff options
Diffstat (limited to 'Jellyfin.Data/Entities/People.cs')
| -rw-r--r-- | Jellyfin.Data/Entities/People.cs | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/Jellyfin.Data/Entities/People.cs b/Jellyfin.Data/Entities/People.cs index 014a0f1c9..8eb23f5e4 100644 --- a/Jellyfin.Data/Entities/People.cs +++ b/Jellyfin.Data/Entities/People.cs @@ -4,14 +4,44 @@ using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Jellyfin.Data.Entities; + +/// <summary> +/// People entity. +/// </summary> public class People { - public Guid ItemId { get; set; } - public BaseItem Item { get; set; } + /// <summary> + /// Gets or Sets The ItemId. + /// </summary> + public required Guid ItemId { get; set; } + + /// <summary> + /// Gets or Sets Reference Item. + /// </summary> + public required BaseItemEntity Item { get; set; } + /// <summary> + /// Gets or Sets the Persons Name. + /// </summary> public required string Name { get; set; } + + /// <summary> + /// Gets or Sets the Role. + /// </summary> public string? Role { get; set; } + + /// <summary> + /// Gets or Sets the Type. + /// </summary> public string? PersonType { get; set; } + + /// <summary> + /// Gets or Sets the SortOrder. + /// </summary> public int? SortOrder { get; set; } + + /// <summary> + /// Gets or Sets the ListOrder. + /// </summary> public int? ListOrder { get; set; } } |
