1234567891011121314151617181920212223242526272829303132 |
- #pragma warning disable CA2227 // Collection properties should be read only
- using System;
- using System.Collections.Generic;
- namespace Jellyfin.Data.Entities;
- /// <summary>
- /// People entity.
- /// </summary>
- public class People
- {
- /// <summary>
- /// Gets or Sets the PeopleId.
- /// </summary>
- public required Guid Id { get; set; }
- /// <summary>
- /// Gets or Sets the Persons Name.
- /// </summary>
- public required string Name { get; set; }
- /// <summary>
- /// Gets or Sets the Type.
- /// </summary>
- public string? PersonType { get; set; }
- /// <summary>
- /// Gets or Sets the mapping of People to BaseItems.
- /// </summary>
- public ICollection<PeopleBaseItemMap>? BaseItems { get; set; }
- }
|