1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/tests/Doctrine/Tests/Models/Quote/Group.php

29 lines
397 B
PHP
Raw Normal View History

2012-06-04 23:56:46 +04:00
<?php
namespace Doctrine\Tests\Models\Quote;
/**
* @Entity
* @Table(name="`quote-group`")
*/
class Group
{
/**
* @Id
* @GeneratedValue
* @Column(type="integer", name="`group-id`")
*/
public $id;
/**
* @Column(name="`group-name`")
*/
public $name;
/**
* @ManyToMany(targetEntity="User", mappedBy="groups")
*/
public $users;
}