Book.cs

33 lines | 966 B Blame History Raw Download
using System;
using System.Collections.Generic;

#nullable disable

namespace Calibre.Model.Database.Entities
{
    public partial class Book
    {
        public long Id { get; set; }
        public string Title { get; set; }
        public string Sort { get; set; }
        public byte[] Timestamp { get; set; }
        public byte[] Pubdate { get; set; }
        public double SeriesIndex { get; set; }
        public string AuthorSort { get; set; }
        public string Isbn { get; set; }
        public string Lccn { get; set; }
        public string Path { get; set; }
        public long Flags { get; set; }
        public string Uuid { get; set; }
        public byte[] HasCover { get; set; }
        public byte[] LastModified { get; set; }
        public virtual List<BooksTagsLink> Tags { get; set; } 
            = new List<BooksTagsLink>();

        public override string ToString()
        {
            return $"{Id}.{Title}";
        }
    }
};