Add properties for better code completion.
This commit is contained in:
parent
0ef2977199
commit
9947bf1e22
3 changed files with 22 additions and 0 deletions
|
@ -12,6 +12,11 @@ use Doctrine\ORM\Mapping as ORM;
|
||||||
use Doctrine\ORM\PersistentCollection;
|
use Doctrine\ORM\PersistentCollection;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* A baseclass for all other entities
|
||||||
|
*
|
||||||
|
* @property integer $id
|
||||||
|
* @property string $slug
|
||||||
|
*
|
||||||
* @ORM\MappedSuperclass
|
* @ORM\MappedSuperclass
|
||||||
*/
|
*/
|
||||||
abstract class BaseEntity {
|
abstract class BaseEntity {
|
||||||
|
|
|
@ -7,6 +7,14 @@ use Doctrine\ORM\Mapping as ORM;
|
||||||
/**
|
/**
|
||||||
* Event
|
* 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\Table(name="events")
|
||||||
* @ORM\Entity
|
* @ORM\Entity
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -8,6 +8,15 @@ use Doctrine\ORM\PersistentCollection;
|
||||||
/**
|
/**
|
||||||
* RepeatEvent
|
* 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\Table(name="repeating_events")
|
||||||
* @ORM\Entity
|
* @ORM\Entity
|
||||||
*/
|
*/
|
||||||
|
|
Reference in a new issue