namespace MapperSourceGen.Sample.Domain.Orders;
///
/// Model representing an order in the system.
///
[Mapper]
public sealed class Order
{
///
/// Represents the date and time when the order was created.
///
public DateTimeOffset Created { get; set; }
///
/// Represents the unique identifier for the customer associated with the order (nullable).
///
public Guid? CustomerId { get; set; }
///
/// Represents the unique identifier for the order (private).
///
[MapAlias("EntityId")]
public Guid Id { get; set; }
///
/// Represents the unique identifier integer for the order (public).
///
[MapAlias("OrderId")]
public int IncrementId { get; set; }
///
/// Represents the date and time when the order was last updated.
///
[MapIgnore]
public DateTimeOffset? Updated { get; set; }
}