Entities in Doctrine 2 are lightweight PHP Objects that contain persistable properties.
Doctrine 1.x follows the active record pattern for working with data, where a class corresponds with a database table.