1
0
mirror of synced 2024-12-14 07:06:04 +03:00
doctrine2/tests/models/cms/CmsPhonenumber.php

10 lines
239 B
PHP
Raw Normal View History

<?php
class CmsPhonenumber extends Doctrine_Entity
{
public static function initMetadata($class)
{
$class->mapColumn('user_id', 'integer', 4);
$class->mapColumn('phonenumber', 'string', 50, array('primary' => true));
}
}