dataobjects
DataObjects is a term used in software engineering to refer to objects whose primary purpose is to hold structured data. They encapsulate values for transport or storage and typically expose accessors rather than business logic.
DataObjects are used across layers: data access, service boundaries, and API payloads. In many languages they
Key characteristics include a focus on data representation, potential serialization capability, and often a shallow equality
Common design considerations include choosing between mutable DTOs and immutable data objects, ensuring validation at seams,
DataObjects differ from domain entities, which carry identity and behavior, and from Value Objects, which emphasize
Example: a simple person data object includes fields for firstName, lastName, and email. It can be serialized