Active Record pattern
Topics: Software architecture
This pattern was named by Martin Fowler in Patterns of Enterprise Software Architecture (book). The basic idea behind this pattern is that every table in a database has a corresponding class in the application code. Each instance of the class represents one row of data in the related table.