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 in cents (non-negative by convention); the DTO and storage row carry the same plain int. public int TotalInCents { get; set; } /// The owning client; wired by navigation fix-up when the order is added to . public Client? Client { get; set; } }