mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
25 lines
542 B
C#
25 lines
542 B
C#
using System.Collections.Generic;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Kyoo.Models
|
|
{
|
|
public class Library
|
|
{
|
|
[JsonIgnore] public long ID { get; set; }
|
|
public string Slug { get; set; }
|
|
public string Name { get; set; }
|
|
public string[] Paths { get; set; }
|
|
public virtual IEnumerable<ProviderLink> Providers { get; set; }
|
|
|
|
public Library() { }
|
|
|
|
public Library(string slug, string name, string[] paths, IEnumerable<ProviderLink> providers)
|
|
{
|
|
Slug = slug;
|
|
Name = name;
|
|
Paths = paths;
|
|
Providers = providers;
|
|
}
|
|
}
|
|
}
|