123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- <?php
- use Doctrine\ORM\Mapping as ORM;
- /**
- * EntityNotification
- *
- * @Table(name="notification")
- * @Entity
- */
- class EntityNotification
- {
- /**
- * @var integer
- *
- * @Column(name="id", type="bigint", precision=0, scale=0, nullable=false, unique=false)
- * @Id
- * @GeneratedValue(strategy="IDENTITY")
- */
- private $id;
- /**
- * @var integer
- *
- * @Column(name="dest_user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $destUserId;
- /**
- * @var string
- *
- * @Column(name="dest_mail", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
- */
- private $destMail;
- /**
- * @var string
- *
- * @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
- */
- private $title;
- /**
- * @var integer
- *
- * @Column(name="sender_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $senderId;
- /**
- * @var string
- *
- * @Column(name="content", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
- */
- private $content;
- /**
- * @var integer
- *
- * @Column(name="send_freq", type="smallint", precision=0, scale=0, nullable=true, unique=false)
- */
- private $sendFreq;
- /**
- * @var \DateTime
- *
- * @Column(name="created_at", type="datetime", precision=0, scale=0, nullable=false, unique=false)
- */
- private $createdAt;
- /**
- * @var \DateTime
- *
- * @Column(name="sent_at", type="datetime", precision=0, scale=0, nullable=true, unique=false)
- */
- private $sentAt;
- /**
- * Get id
- *
- * @return integer
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set destUserId
- *
- * @param integer $destUserId
- * @return EntityNotification
- */
- public function setDestUserId($destUserId)
- {
- $this->destUserId = $destUserId;
- return $this;
- }
- /**
- * Get destUserId
- *
- * @return integer
- */
- public function getDestUserId()
- {
- return $this->destUserId;
- }
- /**
- * Set destMail
- *
- * @param string $destMail
- * @return EntityNotification
- */
- public function setDestMail($destMail)
- {
- $this->destMail = $destMail;
- return $this;
- }
- /**
- * Get destMail
- *
- * @return string
- */
- public function getDestMail()
- {
- return $this->destMail;
- }
- /**
- * Set title
- *
- * @param string $title
- * @return EntityNotification
- */
- public function setTitle($title)
- {
- $this->title = $title;
- return $this;
- }
- /**
- * Get title
- *
- * @return string
- */
- public function getTitle()
- {
- return $this->title;
- }
- /**
- * Set senderId
- *
- * @param integer $senderId
- * @return EntityNotification
- */
- public function setSenderId($senderId)
- {
- $this->senderId = $senderId;
- return $this;
- }
- /**
- * Get senderId
- *
- * @return integer
- */
- public function getSenderId()
- {
- return $this->senderId;
- }
- /**
- * Set content
- *
- * @param string $content
- * @return EntityNotification
- */
- public function setContent($content)
- {
- $this->content = $content;
- return $this;
- }
- /**
- * Get content
- *
- * @return string
- */
- public function getContent()
- {
- return $this->content;
- }
- /**
- * Set sendFreq
- *
- * @param integer $sendFreq
- * @return EntityNotification
- */
- public function setSendFreq($sendFreq)
- {
- $this->sendFreq = $sendFreq;
- return $this;
- }
- /**
- * Get sendFreq
- *
- * @return integer
- */
- public function getSendFreq()
- {
- return $this->sendFreq;
- }
- /**
- * Set createdAt
- *
- * @param \DateTime $createdAt
- * @return EntityNotification
- */
- public function setCreatedAt($createdAt)
- {
- $this->createdAt = $createdAt;
- return $this;
- }
- /**
- * Get createdAt
- *
- * @return \DateTime
- */
- public function getCreatedAt()
- {
- return $this->createdAt;
- }
- /**
- * Set sentAt
- *
- * @param \DateTime $sentAt
- * @return EntityNotification
- */
- public function setSentAt($sentAt)
- {
- $this->sentAt = $sentAt;
- return $this;
- }
- /**
- * Get sentAt
- *
- * @return \DateTime
- */
- public function getSentAt()
- {
- return $this->sentAt;
- }
- }
|