1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/models/Record_Country.php

12 lines
268 B
PHP
Raw Normal View History

<?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');
}
}