Add properties for better code completion.

This commit is contained in:
Tim Schumacher 2014-07-29 15:08:08 +02:00
parent 0ef2977199
commit 9947bf1e22
3 changed files with 22 additions and 0 deletions

View file

@ -12,6 +12,11 @@ use Doctrine\ORM\Mapping as ORM;
use Doctrine\ORM\PersistentCollection;
/**
* A baseclass for all other entities
*
* @property integer $id
* @property string $slug
*
* @ORM\MappedSuperclass
*/
abstract class BaseEntity {

View file

@ -7,6 +7,14 @@ use Doctrine\ORM\Mapping as ORM;
/**
* Event
*
* @property \DateTime $startdate
* @property \DateTime $enddate
* @property string $summary
* @property string $description
* @property Location $location
* @property string $url
* @property array $tags
*
* @ORM\Table(name="events")
* @ORM\Entity
*/

View file

@ -8,6 +8,15 @@ use Doctrine\ORM\PersistentCollection;
/**
* RepeatEvent
*
* @property \DateTime $nextdate
* @property integer $duration
* @property string $repeating_pattern
* @property string $summary
* @property string $description
* @property Location $location
* @property string $url
* @property array $tags
*
* @ORM\Table(name="repeating_events")
* @ORM\Entity
*/