Buyer (v1.0.0)
Buyer domain entity, encapsulates buyer information and business rules
Overview
The buyer entity represents a buyer in the orders domain. It encapsulates buyer information and business rules such as a unique identifier. The buyer is the person who places an order and is associated with the order. The buyer is responsible for providing payment information and shipping address.
Entity Properties
Name | Type | Required | Description |
---|---|---|---|
id | UUID | Required | Unique identifier for the buyer |
name | string | Required | Name of the buyer |
address | Address | Required | Address of the buyer |
Entity Relationships
- A buyer is associated with one order