1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/models/Record_Country.php

12 lines
268 B
PHP

<?php
class Record_Country extends Doctrine_Record {
public function setTableDefinition() {
$this->hasColumn('name', 'string', 200);
}
public function setUp() {
$this->hasMany('Record_City as City', 'City.country_id');
}
}