Entity object

ASAMI, Tomoharu

Term

entity object

Aliases

-

Definition

An Entity Object is an object in a domain model that has a unique identifier (ID) and is continuously identified and tracked throughout its lifecycle.

Entities are mutable and treated as the same object even if their state changes, as long as they retain the same ID.

SimpleModeling

In SimpleModeling, SimpleEntity is defined as the base class for all entity objects, enabling consistent management through shared attributes and state machines (e.g., PostStatus, Aliveness).

Category

  • Object Modeling

  • Domain-Driven Design

  • Value Object

  • Identifier

  • SimpleEntity

  • SimpleObject