73 lines
1.5 KiB
C#
73 lines
1.5 KiB
C#
namespace LiteCharms.Features.TechShop.Customers.Models;
|
|
|
|
public record CreateCustomer
|
|
{
|
|
public string? Company { get; set; }
|
|
|
|
public required string Name { get; set; }
|
|
|
|
public required string LastName { get; set; }
|
|
|
|
public string? Tax { get; set; }
|
|
|
|
public required string Email { get; set; }
|
|
|
|
public string? Discord { get; set; }
|
|
|
|
public string? Slack { get; set; }
|
|
|
|
public string? LinkedIn { get; set; }
|
|
|
|
public string? Whatsapp { get; set; }
|
|
|
|
public string? Website { get; set; }
|
|
|
|
public string? Phone { get; set; }
|
|
|
|
public string? Address { get; set; }
|
|
|
|
public string? City { get; set; }
|
|
|
|
public string? Region { get; set; }
|
|
|
|
public string? Country { get; set; }
|
|
|
|
public string? PostalCode { get; set; }
|
|
}
|
|
|
|
public record UpdateCustomer
|
|
{
|
|
public required Guid CustomerId { get; set; }
|
|
|
|
public string? Company { get; set; }
|
|
|
|
public string? Name { get; set; }
|
|
|
|
public string? LastName { get; set; }
|
|
|
|
public string? Tax { get; set; }
|
|
|
|
public string? Email { get; set; }
|
|
|
|
public string? Discord { get; set; }
|
|
|
|
public string? Slack { get; set; }
|
|
|
|
public string? LinkedIn { get; set; }
|
|
|
|
public string? Whatsapp { get; set; }
|
|
|
|
public string? Website { get; set; }
|
|
|
|
public string? Phone { get; set; }
|
|
|
|
public string? Address { get; set; }
|
|
|
|
public string? City { get; set; }
|
|
|
|
public string? Region { get; set; }
|
|
|
|
public string? Country { get; set; }
|
|
|
|
public string? PostalCode { get; set; }
|
|
} |