config an entity, table and object