using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace Ombi.Store.Entities.Requests
{
    public class TvRequests : Entity
    {
        public int TvDbId { get; set; }
        public string ImdbId { get; set; }
        public int? QualityOverride { get; set; }
        public int? RootFolder { get; set; }
        public string Overview { get; set; }
        public string Title { get; set; }
        public string PosterPath { get; set; }
        public string Background { get; set; }
        public DateTime ReleaseDate { get; set; }
        public string Status { get; set; }

        /// <summary>
        /// This is so we can correctly send the right amount of seasons to Sonarr
        /// </summary>
        [NotMapped]
        public int TotalSeasons { get; set; }

        public List<ChildRequests> ChildRequests { get; set; }
    }
}