mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-23 15:30:34 -04:00
25 lines
865 B
C#
25 lines
865 B
C#
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<Provider> Providers { get; set; }
|
|
|
|
[LoadableRelation] public virtual ICollection<Show> Shows { get; set; }
|
|
[LoadableRelation] public virtual ICollection<Collection> Collections { get; set; }
|
|
|
|
#if ENABLE_INTERNAL_LINKS
|
|
[SerializeIgnore] public virtual ICollection<Link<Library, Provider>> ProviderLinks { get; set; }
|
|
[SerializeIgnore] public virtual ICollection<Link<Library, Show>> ShowLinks { get; set; }
|
|
[SerializeIgnore] public virtual ICollection<Link<Library, Collection>> CollectionLinks { get; set; }
|
|
#endif
|
|
}
|
|
}
|