divan/RMuseum/Models/PDFLibrary/MultiVolumePDFCollection.cs
2023-07-25 17:09:28 +03:30

49 lines
1.0 KiB
C#

using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace RMuseum.Models.PDFLibrary
{
/// <summary>
/// Multi Volume Book
/// </summary>
public class MultiVolumePDFCollection
{
/// <summary>
/// Id
/// </summary>
public int Id { get; set; }
/// <summary>
/// book id
/// </summary>
public int BookId { get; set; }
/// <summary>
/// book
/// </summary>
public Book Book { get; set; }
/// <summary>
/// Name
/// </summary>
public string Name { get; set; }
/// <summary>
/// Description
/// </summary>
public string Description { get; set; }
/// <summary>
/// volume count
/// </summary>
public int VolumeCount { get; set; }
/// <summary>
/// pdf books
/// </summary>
[NotMapped]
public ICollection<PDFBook> PDFBooks { get; set; }
}
}