// <copyright file="ItemPersonView.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>

namespace Jellyfin.Database.Implementations.Entities.Views;

#pragma warning disable CS1591
#pragma warning disable SA1600

using System;

/// <summary>
/// Read-only projection of the library."ItemPeople_v" view.
/// All cast and crew entries linked to the items they appear in.
/// </summary>
public class ItemPersonView
{
    public Guid? ItemId { get; set; }

    public string? ItemType { get; set; }

    public string? ItemName { get; set; }

    public string? SeriesName { get; set; }

    public int? ProductionYear { get; set; }

    public Guid? PersonId { get; set; }

    public string? PersonName { get; set; }

    public string? PersonType { get; set; }

    public string? Role { get; set; }

    public int? SortOrder { get; set; }

    public int? ListOrder { get; set; }
}
