Created Author, Book, AuthorBook, Page and Product with Price
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using LiteCharms.Features.Models;
|
||||
|
||||
namespace LiteCharms.Features.MidrandBooks.Pages.Models;
|
||||
|
||||
public class BookPage
|
||||
{
|
||||
public long Id { get; set; }
|
||||
|
||||
public long AuthorBookId { get; set; }
|
||||
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
public DateTime? UpdatedAt { get; set; }
|
||||
|
||||
public BookPageTypes Type { get; set; }
|
||||
|
||||
public BookContentTypes ContentType { get; set; }
|
||||
|
||||
public int Number { get; set; }
|
||||
|
||||
public byte[]? Content { get; set; }
|
||||
|
||||
public string[]? Notes { get; set; }
|
||||
|
||||
public PageReference[]? References { get; set; }
|
||||
|
||||
public bool Enabled { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using LiteCharms.Features.Models;
|
||||
|
||||
namespace LiteCharms.Features.MidrandBooks.Pages.Models;
|
||||
|
||||
public class CreateBookPage
|
||||
{
|
||||
public BookPageTypes Type { get; set; }
|
||||
|
||||
public BookContentTypes ContentType { get; set; }
|
||||
|
||||
public int Number { get; set; }
|
||||
|
||||
public byte[]? Content { get; set; }
|
||||
|
||||
public string[]? Notes { get; set; }
|
||||
|
||||
public PageReference[]? References { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
namespace LiteCharms.Features.MidrandBooks.Pages.Models;
|
||||
|
||||
public class UpdateBookPage : CreateBookPage;
|
||||
Reference in New Issue
Block a user