Created Author, Book, AuthorBook, Page and Product with Price
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using LiteCharms.Features.Models;
|
||||
|
||||
namespace LiteCharms.Features.MidrandBooks.Authors.Models;
|
||||
|
||||
public record UpdateAuthor : CreateAuthor;
|
||||
|
||||
public record CreateAuthor
|
||||
{
|
||||
public required PublisherTypes PublisherType { get; set; }
|
||||
|
||||
public string? Company { get; set; }
|
||||
|
||||
public string? VatNumber { get; set; }
|
||||
|
||||
public required string Name { get; set; }
|
||||
|
||||
public required string LastName { get; set; }
|
||||
|
||||
public string? Biography { get; set; }
|
||||
|
||||
public required string Email { get; set; }
|
||||
|
||||
public string? Website { get; set; }
|
||||
|
||||
public required string ImageUrl { get; set; }
|
||||
|
||||
public string? ThumbnailImageUrl { get; set; }
|
||||
|
||||
public SocialMedia[]? SocialMedia { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user