2013-02-13 20:42:13 -02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Doctrine\Tests\Models\Cache;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @Entity
|
|
|
|
* @Table("cache_attraction_contact_info")
|
|
|
|
*/
|
|
|
|
class AttractionContactInfo extends AttractionInfo
|
|
|
|
{
|
|
|
|
const CLASSNAME = __CLASS__;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @Column(unique=true)
|
|
|
|
*/
|
|
|
|
protected $fone;
|
|
|
|
|
|
|
|
public function __construct($fone, Attraction $attraction)
|
|
|
|
{
|
|
|
|
$this->setAttraction($attraction);
|
|
|
|
$this->setFone($fone);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getFone()
|
|
|
|
{
|
|
|
|
return $this->fone;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setFone($fone)
|
|
|
|
{
|
|
|
|
$this->fone = $fone;
|
|
|
|
}
|
2016-12-08 18:01:04 +01:00
|
|
|
}
|