2008-08-31 22:28:22 +04:00
|
|
|
<?php
|
|
|
|
|
2009-02-18 10:59:11 +03:00
|
|
|
namespace Doctrine\Tests\Models\Company;
|
|
|
|
|
|
|
|
/**
|
2009-05-29 14:23:13 +04:00
|
|
|
* @Entity
|
|
|
|
* @Table(name="company_managers")
|
|
|
|
* @DiscriminatorValue("manager")
|
2009-02-18 10:59:11 +03:00
|
|
|
*/
|
2008-08-31 22:28:22 +04:00
|
|
|
class CompanyManager extends CompanyEmployee
|
|
|
|
{
|
2009-05-21 12:53:40 +04:00
|
|
|
/**
|
2009-05-29 14:23:13 +04:00
|
|
|
* @Column(type="string", length="250")
|
2009-02-18 10:59:11 +03:00
|
|
|
*/
|
2009-05-21 12:53:40 +04:00
|
|
|
private $title;
|
|
|
|
|
|
|
|
public function getTitle() {
|
|
|
|
return $this->title;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setTitle($title) {
|
|
|
|
$this->title = $title;
|
|
|
|
}
|
2009-02-18 10:59:11 +03:00
|
|
|
}
|