Entity

Definition
An entity is an object that has an identity, which is independent of the changes of its attributes. It represents long-lived information relevant for the users and is usually stored in a database.
Entity

How does it work?

An entity is an object that has a role in the use cases of an application. Preferably it does not depend on any other part of the application, and its methods don't involve other entities.

Examples

  • Order, Loan, Payment, User, Relation

Links