File tree Expand file tree Collapse file tree
Boundaries/Comanda.Orders/Source/Comanda.Orders.Domain Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ public sealed class Order : Aggregate
44{
55 public Code Code { get ; set ; } = default ! ;
66 public Metadata Metadata { get ; set ; } = default ! ;
7+ public Address Address { get ; set ; } = default ! ;
8+
79 public Status Status { get ; set ; } = Status . Pending ;
810 public Priority Priority { get ; set ; } = Priority . Normal ;
911 public Fulfillment Fulfillment { get ; set ; } = Fulfillment . Unspecified ;
Original file line number Diff line number Diff line change 1+ namespace Comanda . Orders . Domain . Concepts ;
2+
3+ public sealed record Address : IValueObject < Address >
4+ {
5+ public string Street { get ; init ; } = default ! ;
6+ public string Number { get ; init ; } = default ! ;
7+ public string City { get ; init ; } = default ! ;
8+
9+ public string State { get ; init ; } = default ! ;
10+ public string ZipCode { get ; init ; } = default ! ;
11+ public string Neighborhood { get ; init ; } = default ! ;
12+
13+ public string ? Complement { get ; init ; }
14+ public string ? Reference { get ; init ; }
15+ }
You can’t perform that action at this time.
0 commit comments