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

11 lines
463 B
PHP

<?php
class PolicyCodeN extends Doctrine_Entity {
public static function initMetadata($class) {
$class->setTableName('policy_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,));
}
}