902942eee6
continuous-integration/drone/pr Build is passing
Sealed qualifying public classes Migrated database changes
31 lines
717 B
C#
31 lines
717 B
C#
using LiteCharms.Features.Models;
|
|
|
|
namespace LiteCharms.Features.MidrandBooks.Authors.Models;
|
|
|
|
public sealed 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; }
|
|
}
|