1
0
mirror of synced 2024-12-13 14:56:01 +03:00
doctrine2/tests_old/models/CoverageCodeN.php

11 lines
467 B
PHP
Raw Normal View History

<?php
class CoverageCodeN extends Doctrine_Entity {
public static function initMetadata($class) {
$class->setTableName('coverage_codes');
$class->setColumn('id', 'integer', 4, array('notnull' => true, 'primary' => true, 'autoincrement' => true));
$class->setColumn('code', 'integer', 4, array ( 'notnull' => true, 'notblank' => true,));
$class->setColumn('description', 'string', 4000, array ( 'notnull' => true, 'notblank' => true,));
}
}