['name' => 'test_has_many_direct_id', 'type' => 'int', 'internal' => 'id'], 'test_has_many_direct_string' => ['name' => 'test_has_many_direct_string', 'type' => 'string', 'internal' => 'string'], 'test_has_many_direct_to' => ['name' => 'test_has_many_direct_to', 'type' => 'int', 'internal' => 'to'], ]; protected static $table = 'test_has_many_direct'; protected static $primaryField = 'test_has_many_direct_id'; }