17 lines
340 B
PHP
17 lines
340 B
PHP
|
<?php
|
||
|
|
||
|
namespace Doctrine\Tests\Models\Company;
|
||
|
|
||
|
/** @Entity @Table(name="company_raffles") */
|
||
|
class CompanyRaffle extends CompanyEvent {
|
||
|
/** @Column(type="string") */
|
||
|
private $data;
|
||
|
|
||
|
public function setData($data) {
|
||
|
$this->data = $data;
|
||
|
}
|
||
|
|
||
|
public function getData() {
|
||
|
return $this->data;
|
||
|
}
|
||
|
}
|