using System;
using System.Collections.Generic;
namespace DTOs
{
public class SeriesEntry
{
public string SeriesId;
public string SeriesName;
public float? Index;
}
public class BookDetailDTO
{
public string ProductId { get; set; }
/// DEBUG only
public string Title { get; set; }
/// UNUSED: currently unused: desc from book-details is better desc in lib, but book-details also contains html tags
public string Description { get; set; }
public bool IsAbridged { get; set; }
// order matters: don't use hashtable/dictionary
public List Narrators { get; } = new List();
public string Publisher { get; set; }
public DateTime DatePublished { get; set; }
// order matters: don't use hashtable/dictionary
public List<(string categoryId, string categoryName)> Categories { get; } = new List<(string categoryId, string categoryName)>();
public List Series { get; } = new List();
public override string ToString() => $"[{ProductId}] {Title}";
}
}