Table structure in ORM