mirror of
https://github.com/Ikatono/ComiServ.git
synced 2025-10-28 20:45:35 -05:00
24 lines
649 B
C#
24 lines
649 B
C#
using ComiServ.Entities;
|
|
|
|
namespace ComiServ.Models
|
|
{
|
|
public class ComicDuplicateList
|
|
{
|
|
public long Hash { get; set; }
|
|
public int Count { get; set; }
|
|
public List<ComicData> Comics { get; set; }
|
|
public ComicDuplicateList(long hash, IEnumerable<Comic> comics)
|
|
{
|
|
Hash = hash;
|
|
Comics = comics.Select(c => new ComicData(c)).ToList();
|
|
Count = Comics.Count;
|
|
}
|
|
public ComicDuplicateList(long hash, IEnumerable<ComicData> comics)
|
|
{
|
|
Hash = hash;
|
|
Comics = comics.ToList();
|
|
Count = Comics.Count;
|
|
}
|
|
}
|
|
}
|