testade calibre

This commit is contained in:
2025-09-05 17:23:24 +02:00
parent ecd0d5a3d2
commit ec787e80e4
8 changed files with 886 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
using Bibblan.Models;
namespace Bibblan.ViewModels
{
public class BookVm
{
public long Id { get; set; }
public string Title { get; set; }
public string Author { get; set; }
public long AuthorId { get; set; }
public string Comments { get; set; }
public string Language { get; set; }
public string Path { get; set; }
public List<DataVm> Formats { get; set; }
public bool HasCover { get; set; }
public string SeriesName { get; set; }
public double SeriesNumber { get; set; }
public string TitleAndSeries
{
get
{
return Title + (!string.IsNullOrWhiteSpace(SeriesName) ? $" ({SeriesName + (SeriesNumber > 0 ? $" {SeriesNumber:##}" : string.Empty)})" : string.Empty);
}
}
}
}