1
0
mirror of synced 2025-01-31 04:21:44 +03:00
2015-03-31 21:36:32 +01:00

31 lines
503 B
PHP

<?php
namespace Doctrine\Tests\Models\Pagination;
/**
* Department
*
* @package Doctrine\Tests\Models\Pagination
*
* @author Bill Schaller
* @Entity
* @Table(name="pagination_department")
*/
class Department
{
/**
* @Id @Column(type="integer")
* @GeneratedValue
*/
public $id;
/**
* @Column(type="string")
*/
public $name;
/**
* @ManyToOne(targetEntity="Company", inversedBy="departments", cascade={"persist"})
*/
public $company;
}