%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/tjamichg/cursos.tjamich.gob.mx/src/Chamilo/CoreBundle/Entity/
Upload File :
Create Path :
Current File : /home/tjamichg/cursos.tjamich.gob.mx/src/Chamilo/CoreBundle/Entity/AgendaReminder.php

<?php

/* For licensing terms, see /license.txt */

namespace Chamilo\CoreBundle\Entity;

use Chamilo\CoreBundle\Traits\TimestampableTypedEntity;
use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Table(name="agenda_reminder")
 * Add @ to the next line when activatiing the agenda_reminders configuration setting
 * ORM\Entity()
 */
class AgendaReminder
{
    use TimestampableTypedEntity;

    /**
     * @ORM\Id()
     * @ORM\Column(type="bigint")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected ?int $id;

    /**
     * @ORM\Column(name="type", type="string")
     */
    protected string $type;

    /**
     * @ORM\Column(name="event_id", type="integer")
     */
    protected int $eventId;

    /**
     * @ORM\Column(name="date_interval", type="dateinterval")
     */
    protected \DateInterval $dateInterval;

    /**
     * @ORM\Column(name="sent", type="boolean")
     */
    protected bool $sent;

    public function __construct()
    {
        $this->sent = false;
    }

    public function getId(): int
    {
        return $this->id;
    }

    public function getType(): string
    {
        return $this->type;
    }

    public function setType(string $type): AgendaReminder
    {
        $this->type = $type;

        return $this;
    }

    public function getEventId(): int
    {
        return $this->eventId;
    }

    public function setEventId(int $eventId): AgendaReminder
    {
        $this->eventId = $eventId;

        return $this;
    }

    public function getDateInterval(): \DateInterval
    {
        return $this->dateInterval;
    }

    public function setDateInterval(\DateInterval $dateInterval): AgendaReminder
    {
        $this->dateInterval = $dateInterval;

        return $this;
    }

    public function isSent(): bool
    {
        return $this->sent;
    }

    public function setSent(bool $sent): AgendaReminder
    {
        $this->sent = $sent;

        return $this;
    }
}

Zerion Mini Shell 1.0