31 lines
710 B
C#
31 lines
710 B
C#
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; }
|
|
}
|