7136e4fc70
Labeled all service to enable assembly scanning
60 lines
1.2 KiB
C#
60 lines
1.2 KiB
C#
using LiteCharms.Features.Models;
|
|
|
|
namespace LiteCharms.Features.MidrandBooks.Customers.Models;
|
|
|
|
public record CreateCustomer
|
|
{
|
|
public string? Company { get; set; }
|
|
|
|
public string? VatNumber { get; set; }
|
|
|
|
public string? Email { get; set; }
|
|
|
|
public string? Website { get; set; }
|
|
|
|
public string? Phone { get; set; }
|
|
|
|
public SocialMedia[]? SocialMedia { get; set; }
|
|
}
|
|
|
|
public record UpdateCustomer : CreateCustomer;
|
|
|
|
public record CreateCustomerContact
|
|
{
|
|
public ContactTypes Type { get; set; }
|
|
|
|
public string? Name { get; set; }
|
|
|
|
public string? LastName { get; set; }
|
|
|
|
public string? Email { get; set; }
|
|
|
|
public string? Phone { get; set; }
|
|
}
|
|
|
|
public record UpdateCustomerContact : CreateCustomerContact;
|
|
|
|
public record CreateCustomerAddress
|
|
{
|
|
public string? Name { get; set; }
|
|
|
|
public AddressType Type { get; set; }
|
|
|
|
public AddressBuildingTypes BuildingType { get; set; }
|
|
|
|
public string? Street { get; set; }
|
|
|
|
public string? City { get; set; }
|
|
|
|
public string? State { get; set; }
|
|
|
|
public string? PostalCode { get; set; }
|
|
|
|
public string? Country { get; set; }
|
|
|
|
public bool IsPrimary { get; set; }
|
|
|
|
public bool Enabled { get; set; }
|
|
}
|
|
|
|
public record UpdateCustomerAddress : CreateCustomerAddress; |