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

NameTypeRequiredDescription
idUUIDRequiredUnique identifier for the buyer
namestringRequiredName of the buyer
addressAddressRequiredAddress of the buyer

Entity Relationships

  • A buyer is associated with one order