You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
811 lines
15 KiB
811 lines
15 KiB
|
13 years ago
|
<?php
|
||
|
|
|
||
|
|
namespace Entity;
|
||
|
|
|
||
|
|
use Doctrine\ORM\Mapping as ORM;
|
||
|
13 years ago
|
use Doctrine\Common\Collections\ArrayCollection;
|
||
|
|
|
||
|
13 years ago
|
/**
|
||
|
13 years ago
|
* Course
|
||
|
13 years ago
|
*
|
||
|
13 years ago
|
* @ORM\Table(name="course")
|
||
|
|
* @ORM\Entity(repositoryClass="Entity\Repository\CourseRepository")
|
||
|
13 years ago
|
*/
|
||
|
13 years ago
|
class Course
|
||
|
13 years ago
|
{
|
||
|
|
/**
|
||
|
|
* @var integer
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
|
||
|
|
* @ORM\Id
|
||
|
|
* @ORM\GeneratedValue(strategy="IDENTITY")
|
||
|
13 years ago
|
*/
|
||
|
|
private $id;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var string
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="code", type="string", length=40, precision=0, scale=0, nullable=false, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $code;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var string
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="directory", type="string", length=40, precision=0, scale=0, nullable=true, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $directory;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var string
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="db_name", type="string", length=40, precision=0, scale=0, nullable=true, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $dbName;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var string
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="course_language", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $courseLanguage;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var string
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="title", type="string", length=250, precision=0, scale=0, nullable=true, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $title;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var string
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $description;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var string
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="category_code", type="string", length=40, precision=0, scale=0, nullable=true, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $categoryCode;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var boolean
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="visibility", type="boolean", precision=0, scale=0, nullable=true, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $visibility;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var integer
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="show_score", type="integer", precision=0, scale=0, nullable=false, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $showScore;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var string
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="tutor_name", type="string", length=200, precision=0, scale=0, nullable=true, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $tutorName;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var string
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="visual_code", type="string", length=40, precision=0, scale=0, nullable=true, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $visualCode;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var string
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="department_name", type="string", length=30, precision=0, scale=0, nullable=true, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $departmentName;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var string
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="department_url", type="string", length=180, precision=0, scale=0, nullable=true, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $departmentUrl;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var integer
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="disk_quota", type="bigint", precision=0, scale=0, nullable=true, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $diskQuota;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var \DateTime
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="last_visit", type="datetime", precision=0, scale=0, nullable=true, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $lastVisit;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var \DateTime
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="last_edit", type="datetime", precision=0, scale=0, nullable=true, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $lastEdit;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var \DateTime
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="creation_date", type="datetime", precision=0, scale=0, nullable=true, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $creationDate;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var \DateTime
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="expiration_date", type="datetime", precision=0, scale=0, nullable=true, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $expirationDate;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var string
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="target_course_code", type="string", length=40, precision=0, scale=0, nullable=true, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $targetCourseCode;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var boolean
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="subscribe", type="boolean", precision=0, scale=0, nullable=false, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $subscribe;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var boolean
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="unsubscribe", type="boolean", precision=0, scale=0, nullable=false, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $unsubscribe;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var string
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="registration_code", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $registrationCode;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var string
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="legal", type="text", precision=0, scale=0, nullable=false, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $legal;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var integer
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="activate_legal", type="integer", precision=0, scale=0, nullable=false, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $activateLegal;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var integer
|
||
|
|
*
|
||
|
13 years ago
|
* @ORM\Column(name="course_type_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
|
||
|
13 years ago
|
*/
|
||
|
|
private $courseTypeId;
|
||
|
|
|
||
|
13 years ago
|
/**
|
||
|
13 years ago
|
* @ORM\OneToMany(targetEntity="CourseRelUser", mappedBy="course")
|
||
|
13 years ago
|
**/
|
||
|
|
private $users;
|
||
|
|
|
||
|
|
/**
|
||
|
13 years ago
|
* @ORM\OneToMany(targetEntity="CItemProperty", mappedBy="course")
|
||
|
13 years ago
|
**/
|
||
|
|
private $items;
|
||
|
|
|
||
|
13 years ago
|
public function __construct()
|
||
|
|
{
|
||
|
13 years ago
|
$this->users = new ArrayCollection();
|
||
|
|
$this->items = new ArrayCollection();
|
||
|
|
}
|
||
|
|
|
||
|
13 years ago
|
public function getItems()
|
||
|
|
{
|
||
|
13 years ago
|
return $this->items;
|
||
|
|
}
|
||
|
|
|
||
|
13 years ago
|
public function getUsers()
|
||
|
|
{
|
||
|
13 years ago
|
return $this->users;
|
||
|
|
}
|
||
|
13 years ago
|
|
||
|
|
/**
|
||
|
|
* Get id
|
||
|
|
*
|
||
|
|
* @return integer
|
||
|
|
*/
|
||
|
|
public function getId()
|
||
|
|
{
|
||
|
|
return $this->id;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set code
|
||
|
|
*
|
||
|
|
* @param string $code
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setCode($code)
|
||
|
|
{
|
||
|
|
$this->code = $code;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get code
|
||
|
|
*
|
||
|
|
* @return string
|
||
|
|
*/
|
||
|
|
public function getCode()
|
||
|
|
{
|
||
|
|
return $this->code;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set directory
|
||
|
|
*
|
||
|
|
* @param string $directory
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setDirectory($directory)
|
||
|
|
{
|
||
|
|
$this->directory = $directory;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get directory
|
||
|
|
*
|
||
|
|
* @return string
|
||
|
|
*/
|
||
|
|
public function getDirectory()
|
||
|
|
{
|
||
|
|
return $this->directory;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set dbName
|
||
|
|
*
|
||
|
|
* @param string $dbName
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setDbName($dbName)
|
||
|
|
{
|
||
|
|
$this->dbName = $dbName;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get dbName
|
||
|
|
*
|
||
|
|
* @return string
|
||
|
|
*/
|
||
|
|
public function getDbName()
|
||
|
|
{
|
||
|
|
return $this->dbName;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set courseLanguage
|
||
|
|
*
|
||
|
|
* @param string $courseLanguage
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setCourseLanguage($courseLanguage)
|
||
|
|
{
|
||
|
|
$this->courseLanguage = $courseLanguage;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get courseLanguage
|
||
|
|
*
|
||
|
|
* @return string
|
||
|
|
*/
|
||
|
|
public function getCourseLanguage()
|
||
|
|
{
|
||
|
|
return $this->courseLanguage;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set title
|
||
|
|
*
|
||
|
|
* @param string $title
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setTitle($title)
|
||
|
|
{
|
||
|
|
$this->title = $title;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get title
|
||
|
|
*
|
||
|
|
* @return string
|
||
|
|
*/
|
||
|
|
public function getTitle()
|
||
|
|
{
|
||
|
|
return $this->title;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set description
|
||
|
|
*
|
||
|
|
* @param string $description
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setDescription($description)
|
||
|
|
{
|
||
|
|
$this->description = $description;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get description
|
||
|
|
*
|
||
|
|
* @return string
|
||
|
|
*/
|
||
|
|
public function getDescription()
|
||
|
|
{
|
||
|
|
return $this->description;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set categoryCode
|
||
|
|
*
|
||
|
|
* @param string $categoryCode
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setCategoryCode($categoryCode)
|
||
|
|
{
|
||
|
|
$this->categoryCode = $categoryCode;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get categoryCode
|
||
|
|
*
|
||
|
|
* @return string
|
||
|
|
*/
|
||
|
|
public function getCategoryCode()
|
||
|
|
{
|
||
|
|
return $this->categoryCode;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set visibility
|
||
|
|
*
|
||
|
|
* @param boolean $visibility
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setVisibility($visibility)
|
||
|
|
{
|
||
|
|
$this->visibility = $visibility;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get visibility
|
||
|
|
*
|
||
|
|
* @return boolean
|
||
|
|
*/
|
||
|
|
public function getVisibility()
|
||
|
|
{
|
||
|
|
return $this->visibility;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set showScore
|
||
|
|
*
|
||
|
|
* @param integer $showScore
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setShowScore($showScore)
|
||
|
|
{
|
||
|
|
$this->showScore = $showScore;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get showScore
|
||
|
|
*
|
||
|
|
* @return integer
|
||
|
|
*/
|
||
|
|
public function getShowScore()
|
||
|
|
{
|
||
|
|
return $this->showScore;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set tutorName
|
||
|
|
*
|
||
|
|
* @param string $tutorName
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setTutorName($tutorName)
|
||
|
|
{
|
||
|
|
$this->tutorName = $tutorName;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get tutorName
|
||
|
|
*
|
||
|
|
* @return string
|
||
|
|
*/
|
||
|
|
public function getTutorName()
|
||
|
|
{
|
||
|
|
return $this->tutorName;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set visualCode
|
||
|
|
*
|
||
|
|
* @param string $visualCode
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setVisualCode($visualCode)
|
||
|
|
{
|
||
|
|
$this->visualCode = $visualCode;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get visualCode
|
||
|
|
*
|
||
|
|
* @return string
|
||
|
|
*/
|
||
|
|
public function getVisualCode()
|
||
|
|
{
|
||
|
|
return $this->visualCode;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set departmentName
|
||
|
|
*
|
||
|
|
* @param string $departmentName
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setDepartmentName($departmentName)
|
||
|
|
{
|
||
|
|
$this->departmentName = $departmentName;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get departmentName
|
||
|
|
*
|
||
|
|
* @return string
|
||
|
|
*/
|
||
|
|
public function getDepartmentName()
|
||
|
|
{
|
||
|
|
return $this->departmentName;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set departmentUrl
|
||
|
|
*
|
||
|
|
* @param string $departmentUrl
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setDepartmentUrl($departmentUrl)
|
||
|
|
{
|
||
|
|
$this->departmentUrl = $departmentUrl;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get departmentUrl
|
||
|
|
*
|
||
|
|
* @return string
|
||
|
|
*/
|
||
|
|
public function getDepartmentUrl()
|
||
|
|
{
|
||
|
|
return $this->departmentUrl;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set diskQuota
|
||
|
|
*
|
||
|
|
* @param integer $diskQuota
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setDiskQuota($diskQuota)
|
||
|
|
{
|
||
|
|
$this->diskQuota = $diskQuota;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get diskQuota
|
||
|
|
*
|
||
|
|
* @return integer
|
||
|
|
*/
|
||
|
|
public function getDiskQuota()
|
||
|
|
{
|
||
|
|
return $this->diskQuota;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set lastVisit
|
||
|
|
*
|
||
|
|
* @param \DateTime $lastVisit
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setLastVisit($lastVisit)
|
||
|
|
{
|
||
|
|
$this->lastVisit = $lastVisit;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get lastVisit
|
||
|
|
*
|
||
|
|
* @return \DateTime
|
||
|
|
*/
|
||
|
|
public function getLastVisit()
|
||
|
|
{
|
||
|
|
return $this->lastVisit;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set lastEdit
|
||
|
|
*
|
||
|
|
* @param \DateTime $lastEdit
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setLastEdit($lastEdit)
|
||
|
|
{
|
||
|
|
$this->lastEdit = $lastEdit;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get lastEdit
|
||
|
|
*
|
||
|
|
* @return \DateTime
|
||
|
|
*/
|
||
|
|
public function getLastEdit()
|
||
|
|
{
|
||
|
|
return $this->lastEdit;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set creationDate
|
||
|
|
*
|
||
|
|
* @param \DateTime $creationDate
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setCreationDate($creationDate)
|
||
|
|
{
|
||
|
|
$this->creationDate = $creationDate;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get creationDate
|
||
|
|
*
|
||
|
|
* @return \DateTime
|
||
|
|
*/
|
||
|
|
public function getCreationDate()
|
||
|
|
{
|
||
|
|
return $this->creationDate;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set expirationDate
|
||
|
|
*
|
||
|
|
* @param \DateTime $expirationDate
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setExpirationDate($expirationDate)
|
||
|
|
{
|
||
|
|
$this->expirationDate = $expirationDate;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get expirationDate
|
||
|
|
*
|
||
|
|
* @return \DateTime
|
||
|
|
*/
|
||
|
|
public function getExpirationDate()
|
||
|
|
{
|
||
|
|
return $this->expirationDate;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set targetCourseCode
|
||
|
|
*
|
||
|
|
* @param string $targetCourseCode
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setTargetCourseCode($targetCourseCode)
|
||
|
|
{
|
||
|
|
$this->targetCourseCode = $targetCourseCode;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get targetCourseCode
|
||
|
|
*
|
||
|
|
* @return string
|
||
|
|
*/
|
||
|
|
public function getTargetCourseCode()
|
||
|
|
{
|
||
|
|
return $this->targetCourseCode;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set subscribe
|
||
|
|
*
|
||
|
|
* @param boolean $subscribe
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setSubscribe($subscribe)
|
||
|
|
{
|
||
|
|
$this->subscribe = $subscribe;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get subscribe
|
||
|
|
*
|
||
|
|
* @return boolean
|
||
|
|
*/
|
||
|
|
public function getSubscribe()
|
||
|
|
{
|
||
|
|
return $this->subscribe;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set unsubscribe
|
||
|
|
*
|
||
|
|
* @param boolean $unsubscribe
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setUnsubscribe($unsubscribe)
|
||
|
|
{
|
||
|
|
$this->unsubscribe = $unsubscribe;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get unsubscribe
|
||
|
|
*
|
||
|
|
* @return boolean
|
||
|
|
*/
|
||
|
|
public function getUnsubscribe()
|
||
|
|
{
|
||
|
|
return $this->unsubscribe;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set registrationCode
|
||
|
|
*
|
||
|
|
* @param string $registrationCode
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setRegistrationCode($registrationCode)
|
||
|
|
{
|
||
|
|
$this->registrationCode = $registrationCode;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get registrationCode
|
||
|
|
*
|
||
|
|
* @return string
|
||
|
|
*/
|
||
|
|
public function getRegistrationCode()
|
||
|
|
{
|
||
|
|
return $this->registrationCode;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set legal
|
||
|
|
*
|
||
|
|
* @param string $legal
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setLegal($legal)
|
||
|
|
{
|
||
|
|
$this->legal = $legal;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get legal
|
||
|
|
*
|
||
|
|
* @return string
|
||
|
|
*/
|
||
|
|
public function getLegal()
|
||
|
|
{
|
||
|
|
return $this->legal;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set activateLegal
|
||
|
|
*
|
||
|
|
* @param integer $activateLegal
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setActivateLegal($activateLegal)
|
||
|
|
{
|
||
|
|
$this->activateLegal = $activateLegal;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get activateLegal
|
||
|
|
*
|
||
|
|
* @return integer
|
||
|
|
*/
|
||
|
|
public function getActivateLegal()
|
||
|
|
{
|
||
|
|
return $this->activateLegal;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Set courseTypeId
|
||
|
|
*
|
||
|
|
* @param integer $courseTypeId
|
||
|
13 years ago
|
* @return Course
|
||
|
13 years ago
|
*/
|
||
|
|
public function setCourseTypeId($courseTypeId)
|
||
|
|
{
|
||
|
|
$this->courseTypeId = $courseTypeId;
|
||
|
|
|
||
|
|
return $this;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get courseTypeId
|
||
|
|
*
|
||
|
|
* @return integer
|
||
|
|
*/
|
||
|
|
public function getCourseTypeId()
|
||
|
|
{
|
||
|
|
return $this->courseTypeId;
|
||
|
|
}
|
||
|
|
}
|