diff --git a/RMuseum/Models/PDFLibrary/Book.cs b/RMuseum/Models/PDFLibrary/Book.cs
new file mode 100644
index 00000000..ac6a017e
--- /dev/null
+++ b/RMuseum/Models/PDFLibrary/Book.cs
@@ -0,0 +1,31 @@
+using RMuseum.Models.Artifact;
+using System.Collections.Generic;
+
+namespace RMuseum.Models.PDFLibrary
+{
+ ///
+ /// a book might have different PDFBook or MultiVolumePDFCollection instances
+ ///
+ public class Book
+ {
+ ///
+ /// Id
+ ///
+ public int Id { get; set; }
+
+ ///
+ /// book name
+ ///
+ public string Name { get; set; }
+
+ ///
+ /// description
+ ///
+ public string Description { get; set; }
+
+ ///
+ /// Attributes
+ ///
+ public ICollection Tags { get; set; }
+ }
+}
diff --git a/RMuseum/Models/PDFLibrary/MultiVolumePDFCollection.cs b/RMuseum/Models/PDFLibrary/MultiVolumePDFCollection.cs
index 7b2a7826..e46e7dff 100644
--- a/RMuseum/Models/PDFLibrary/MultiVolumePDFCollection.cs
+++ b/RMuseum/Models/PDFLibrary/MultiVolumePDFCollection.cs
@@ -11,9 +11,14 @@
public int Id { get; set; }
///
- /// Friendly Url
+ /// book id
///
- public string FriendlyUrl { get; set; }
+ public int BookId { get; set; }
+
+ ///
+ /// book
+ ///
+ public Book Book { get; set; }
///
/// Name
diff --git a/RMuseum/Models/PDFLibrary/PDFBook.cs b/RMuseum/Models/PDFLibrary/PDFBook.cs
index d8c380e7..f0cbab83 100644
--- a/RMuseum/Models/PDFLibrary/PDFBook.cs
+++ b/RMuseum/Models/PDFLibrary/PDFBook.cs
@@ -16,9 +16,14 @@ namespace RMuseum.Models.PDFLibrary
public int Id { get; set; }
///
- /// Friendly Url
+ /// book id
///
- public string FriendlyUrl { get; set; }
+ public int BookId { get; set; }
+
+ ///
+ /// book
+ ///
+ public Book Book { get; set; }
///
/// Publish Status
diff --git a/RMuseum/RMuseum.xml b/RMuseum/RMuseum.xml
index cf7baa71..5e25ba27 100644
--- a/RMuseum/RMuseum.xml
+++ b/RMuseum/RMuseum.xml
@@ -11583,6 +11583,61 @@
+
+
+ a book might have different PDFBook or MultiVolumePDFCollection instances
+
+
+
+
+ Id
+
+
+
+
+ book name
+
+
+
+
+ description
+
+
+
+
+ Attributes
+
+
+
+
+ Multi Volume Book
+
+
+
+
+ Id
+
+
+
+
+ book id
+
+
+
+
+ book
+
+
+
+
+ Name
+
+
+
+
+ Description
+
+
PDF Book
@@ -11593,9 +11648,14 @@
Id
-
+
- Friendly Url
+ book id
+
+
+
+
+ book
@@ -11673,6 +11733,21 @@
claimed page count
+
+
+ MultiVolumePDFCollection Id
+
+
+
+
+ MultiVolumePDFCollection
+
+
+
+
+ Volume Order
+
+
Date/Time