140 lines
3.0 KiB
PHP
140 lines
3.0 KiB
PHP
<?php namespace models\summit;
|
|
/**
|
|
* Copyright 2017 OpenStack Foundation
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
**/
|
|
|
|
use models\main\Member;
|
|
use models\utils\SilverstripeBaseModel;
|
|
use Doctrine\ORM\Mapping AS ORM;
|
|
use Doctrine\Common\Collections\ArrayCollection;
|
|
|
|
/**
|
|
* Class SpeakerRegistrationRequest
|
|
* @ORM\Entity
|
|
* @ORM\Table(name="SpeakerRegistrationRequest")
|
|
* @package models\summit
|
|
*/
|
|
class SpeakerRegistrationRequest extends SilverstripeBaseModel
|
|
{
|
|
|
|
/**
|
|
* @ORM\Column(name="Email", type="string")
|
|
* @var string
|
|
*/
|
|
private $email;
|
|
|
|
/**
|
|
* @ORM\Column(name="IsConfirmed", type="boolean")
|
|
* @var bool
|
|
*/
|
|
private $is_confirmed;
|
|
|
|
/**
|
|
* @ORM\Column(name="ConfirmationDate", type="datetime")
|
|
* @var \DateTime
|
|
*/
|
|
private $confirmation_date;
|
|
|
|
/**
|
|
* @ORM\ManyToOne(targetEntity="PresentationSpeaker")
|
|
* @ORM\JoinColumn(name="SpeakerID", referencedColumnName="ID")
|
|
* @var PresentationSpeaker
|
|
*/
|
|
private $moderator;
|
|
|
|
/**
|
|
* @ORM\ManyToOne(targetEntity="models\main\Member")
|
|
* @ORM\JoinColumn(name="ProposerID", referencedColumnName="ID")
|
|
* @var Member
|
|
*/
|
|
private $proposer;
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getEmail()
|
|
{
|
|
return $this->email;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $email
|
|
*/
|
|
public function setEmail($email)
|
|
{
|
|
$this->email = $email;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function isConfirmed()
|
|
{
|
|
return $this->is_confirmed;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $is_confirmed
|
|
*/
|
|
public function setIsConfirmed($is_confirmed)
|
|
{
|
|
$this->is_confirmed = $is_confirmed;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getConfirmationDate()
|
|
{
|
|
return $this->confirmation_date;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $confirmation_date
|
|
*/
|
|
public function setConfirmationDate($confirmation_date)
|
|
{
|
|
$this->confirmation_date = $confirmation_date;
|
|
}
|
|
|
|
/**
|
|
* @return PresentationSpeaker
|
|
*/
|
|
public function getModerator()
|
|
{
|
|
return $this->moderator;
|
|
}
|
|
|
|
/**
|
|
* @param PresentationSpeaker $moderator
|
|
*/
|
|
public function setModerator($moderator)
|
|
{
|
|
$this->moderator = $moderator;
|
|
}
|
|
|
|
/**
|
|
* @return Member
|
|
*/
|
|
public function getProposer()
|
|
{
|
|
return $this->proposer;
|
|
}
|
|
|
|
/**
|
|
* @param Member $proposer
|
|
*/
|
|
public function setProposer($proposer)
|
|
{
|
|
$this->proposer = $proposer;
|
|
}
|
|
} |