Design patterns·Objects and the database between them
each object is exactly one row, with a getter per column and nothing that knows anything about the business.
Row data gateway
Also calledrow gateway, gateway per row
An object that represents a single record, holding its fields and the methods to load and save it, with no domain logic. It is active record minus the behaviour, and it exists as a name mostly to make that comparison possible. Its usefulness today is in explaining what an ORM-generated entity actually is when nobody has added methods to it.