mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-19 00:26:25 +00:00
Added some resolver improvements
This commit is contained in:
parent
b50f78e5da
commit
4c9f77eead
@@ -38,7 +38,8 @@ namespace MediaBrowser.Model.Entities
|
||||
public string Overview { get; set; }
|
||||
public string Tagline { get; set; }
|
||||
|
||||
public IEnumerable<Person> People { get; set; }
|
||||
[JsonIgnore]
|
||||
public IEnumerable<PersonInfo> People { get; set; }
|
||||
|
||||
public IEnumerable<string> Studios { get; set; }
|
||||
|
||||
|
||||
@@ -6,10 +6,21 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace MediaBrowser.Model.Entities
|
||||
{
|
||||
public class Person
|
||||
/// <summary>
|
||||
/// This is the full Person object that can be retrieved with all of it's data.
|
||||
/// </summary>
|
||||
public class Person : BaseItem
|
||||
{
|
||||
public PersonType PersonType { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This is the small Person stub that is attached to BaseItems
|
||||
/// </summary>
|
||||
public class PersonInfo
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Description { get; set; }
|
||||
public string Overview { get; set; }
|
||||
public PersonType PersonType { get; set; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user