mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
93 lines
1.6 KiB
PHP
93 lines
1.6 KiB
PHP
<?php
|
|
|
|
namespace Chill\PersonBundle\Entity\SocialWork;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* @ORM\Entity
|
|
* @ORM\Table(name="chill_person_social_work_evaluation")
|
|
*/
|
|
class Evaluation
|
|
{
|
|
/**
|
|
* @ORM\Id
|
|
* @ORM\GeneratedValue
|
|
* @ORM\Column(type="integer")
|
|
*/
|
|
private $id;
|
|
|
|
/**
|
|
* @ORM\Column(type="json")
|
|
*/
|
|
private $title = [];
|
|
|
|
/**
|
|
* @ORM\Column(type="dateinterval")
|
|
*/
|
|
private $delay;
|
|
|
|
/**
|
|
* @ORM\Column(type="dateinterval")
|
|
*/
|
|
private $notificationDelay;
|
|
|
|
/**
|
|
* @ORM\ManyToOne(targetEntity=SocialAction::class)
|
|
*/
|
|
private $socialAction;
|
|
|
|
public function getId(): ?int
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function getTitle(): array
|
|
{
|
|
return $this->title;
|
|
}
|
|
|
|
public function setTitle(array $title): self
|
|
{
|
|
$this->title = $title;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getDelay(): ?\DateInterval
|
|
{
|
|
return $this->delay;
|
|
}
|
|
|
|
public function setDelay(\DateInterval $delay): self
|
|
{
|
|
$this->delay = $delay;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getNotificationDelay(): ?\DateInterval
|
|
{
|
|
return $this->notificationDelay;
|
|
}
|
|
|
|
public function setNotificationDelay(\DateInterval $notificationDelay): self
|
|
{
|
|
$this->notificationDelay = $notificationDelay;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getSocialAction(): ?SocialAction
|
|
{
|
|
return $this->socialAction;
|
|
}
|
|
|
|
public function setSocialAction(?SocialAction $socialAction): self
|
|
{
|
|
$this->socialAction = $socialAction;
|
|
|
|
return $this;
|
|
}
|
|
}
|