namespace MapperSourceGen.Sample.Domain.Customers;
///
/// Model representing a customer in the system.
///
[Mapper]
public sealed class Customer
{
///
/// Represents the address lines of the customer.
///
public IReadOnlyList AddressLines { get; set; } = [];
///
/// Represents the country of the customer.
///
public string Country { get; set; } = string.Empty;
///
/// Represents the date and time when the customer was created.
///
[MapIgnore]
public DateTimeOffset Created { get; set; }
///
/// Represents the unique identifier for the customer.
///
public Guid CustomerId { get; set; }
///
/// Represents the email address of the customer.
///
public string Email { get; set; } = string.Empty;
///
/// Represents the first name of the customer.
///
public string FirstName { get; set; } = string.Empty;
///
/// Represents the last name of the customer.
///
public string LastName { get; set; } = string.Empty;
///
/// Represents the phone number of the customer.
///
public string Phone { get; set; } = string.Empty;
///
/// Represents the postal code of the customer.
///
[MapAlias("ZipCode")]
public string PostalCode { get; set; } = string.Empty;
///
/// Represents the state or province of the customer.
///
[MapAlias("State")]
public string StateOrProvince { get; set; } = string.Empty;
///
/// Represents the date and time when the customer was last updated (nullable).
///
[MapIgnore]
public DateTimeOffset? Updated { get; set; }
}