2019-03-01 12:18:06 +01:00
|
|
|
<?php
|
|
|
|
|
2019-03-01 12:49:26 +01:00
|
|
|
namespace Bluesquare\NotificationsBundle\Entity;
|
2019-03-01 12:18:06 +01:00
|
|
|
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
|
|
|
|
/**
|
2019-03-01 12:49:26 +01:00
|
|
|
* @ORM\Entity(repositoryClass="Bluesquare\NotificationsBundle\Repository\BillingInvoiceRepository")
|
2019-03-01 12:18:06 +01:00
|
|
|
*/
|
2019-03-01 13:19:12 +01:00
|
|
|
class Notification
|
2019-03-01 12:18:06 +01:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @ORM\Id()
|
|
|
|
* @ORM\GeneratedValue()
|
|
|
|
* @ORM\Column(type="integer")
|
|
|
|
*/
|
|
|
|
private $id;
|
|
|
|
|
|
|
|
/**
|
2019-03-01 13:19:12 +01:00
|
|
|
* @ORM\Column(type="string", length=191)
|
2019-03-01 12:18:06 +01:00
|
|
|
*/
|
2019-03-01 13:19:12 +01:00
|
|
|
private $title;
|
2019-03-01 12:18:06 +01:00
|
|
|
|
2019-03-01 13:19:12 +01:00
|
|
|
/**
|
|
|
|
* @ORM\Column(type="string", length=191)
|
|
|
|
*/
|
|
|
|
private $data;
|
2019-03-01 12:18:06 +01:00
|
|
|
|
2019-03-01 13:19:12 +01:00
|
|
|
/**
|
|
|
|
* @ORM\Column(type="string", length=191)
|
|
|
|
*/
|
|
|
|
private $description;
|
2019-03-01 12:18:06 +01:00
|
|
|
|
2019-03-01 13:19:12 +01:00
|
|
|
/**
|
|
|
|
* @ORM\ManyToOne(targetEntity="User")
|
|
|
|
*/
|
|
|
|
private $user;
|
2019-03-01 12:18:06 +01:00
|
|
|
}
|