Class declaration for a database object.