namespace Domain;
/// A plain domain order: no persistence base class, no persistence context knowledge.
public class Order
{
/// Identity: until the persistence layer assigns one on save.
public Guid Id { get; set; }
/// Free-text description of what this order is for.
public string Description { get; set; } = string.Empty;
/// Order total as a value object; the DTO and storage row stay plain ints — the mappers convert.
public OrderMoney TotalInCents { get; set; } = OrderMoney.Default;
/// The owning client; wired by navigation fix-up when the order is added to .
public Client? Client { get; set; }
}