using System.Collections.Generic; using Kyoo.Models.Attributes; namespace Kyoo.Models { public class Library : IResource { public int ID { get; set; } public string Slug { get; set; } public string Name { get; set; } public string[] Paths { get; set; } [EditableRelation] [LoadableRelation] public virtual ICollection Providers { get; set; } [LoadableRelation] public virtual ICollection Shows { get; set; } [LoadableRelation] public virtual ICollection Collections { get; set; } #if ENABLE_INTERNAL_LINKS [SerializeIgnore] public virtual ICollection> ProviderLinks { get; set; } [SerializeIgnore] public virtual ICollection> ShowLinks { get; set; } [SerializeIgnore] public virtual ICollection> CollectionLinks { get; set; } #endif } }