mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-03 19:17:16 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			966 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			966 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using Kyoo.Models.Attributes;
 | 
						|
 | 
						|
namespace Kyoo.Models
 | 
						|
{
 | 
						|
	public class MetadataID
 | 
						|
	{
 | 
						|
		[SerializeIgnore] public int ID { get; set; }
 | 
						|
		[SerializeIgnore] public int ProviderID { get; set; }
 | 
						|
		public virtual ProviderID Provider {get; set; }
 | 
						|
		
 | 
						|
		[SerializeIgnore] public int? ShowID { get; set; } 
 | 
						|
		[SerializeIgnore] public virtual Show Show { get; set; }
 | 
						|
		
 | 
						|
		[SerializeIgnore] public int? EpisodeID { get; set; } 
 | 
						|
		[SerializeIgnore] public virtual Episode Episode { get; set; }
 | 
						|
		
 | 
						|
		[SerializeIgnore] public int? SeasonID { get; set; } 
 | 
						|
		[SerializeIgnore] public virtual Season Season { get; set; }
 | 
						|
		
 | 
						|
		[SerializeIgnore] public int? PeopleID { get; set; } 
 | 
						|
		[SerializeIgnore] public virtual People People { get; set; }
 | 
						|
		
 | 
						|
		public string DataID { get; set; }
 | 
						|
		public string Link { get; set; }
 | 
						|
 | 
						|
		public MetadataID() { }
 | 
						|
 | 
						|
		public MetadataID(ProviderID provider, string dataID, string link)
 | 
						|
		{
 | 
						|
			Provider = provider;
 | 
						|
			DataID = dataID;
 | 
						|
			Link = link;
 | 
						|
		}
 | 
						|
	}
 | 
						|
} |