mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
27 lines
639 B
C#
27 lines
639 B
C#
using Newtonsoft.Json;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Kyoo.Models
|
|
{
|
|
public class Collection : IResource
|
|
{
|
|
public int ID { get; set; }
|
|
public string Slug { get; set; }
|
|
public string Name { get; set; }
|
|
public string Poster { get; set; }
|
|
public string Overview { get; set; }
|
|
[JsonIgnore] public virtual IEnumerable<Show> Shows { get; set; }
|
|
[JsonIgnore] public virtual IEnumerable<Library> Libraries { get; set; }
|
|
|
|
public Collection() { }
|
|
|
|
public Collection(string slug, string name, string overview, string poster)
|
|
{
|
|
Slug = slug;
|
|
Name = name;
|
|
Overview = overview;
|
|
Poster = poster;
|
|
}
|
|
}
|
|
}
|