|
@@ -64,6 +64,55 @@ class AccessUrl
|
|
|
*/
|
|
|
private $urlType;
|
|
|
|
|
|
+ /**
|
|
|
+ * @var integer
|
|
|
+ *
|
|
|
+ * @ORM\Column(name="limit_courses", type="integer", nullable=true, unique=false)
|
|
|
+ */
|
|
|
+ private $limitCourses;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @var integer
|
|
|
+ *
|
|
|
+ * @ORM\Column(name="limit_active_courses", type="integer", nullable=true, unique=false)
|
|
|
+ */
|
|
|
+ private $limitActiveCourses;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @var integer
|
|
|
+ *
|
|
|
+ * @ORM\Column(name="limit_sessions", type="integer", nullable=true, unique=false)
|
|
|
+ */
|
|
|
+ private $limitSessions;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @var integer
|
|
|
+ *
|
|
|
+ * @ORM\Column(name="limit_users", type="integer", nullable=true, unique=false)
|
|
|
+ */
|
|
|
+ private $limitUsers;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @var integer
|
|
|
+ *
|
|
|
+ * @ORM\Column(name="limit_teachers", type="integer", nullable=true, unique=false)
|
|
|
+ */
|
|
|
+ private $limitTeachers;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @var integer
|
|
|
+ *
|
|
|
+ * @ORM\Column(name="limit_disk_space", type="integer", nullable=true, unique=false)
|
|
|
+ */
|
|
|
+ private $limitDiskSpace;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @var string
|
|
|
+ *
|
|
|
+ * @ORM\Column(name="email", type="string", length=255, nullable=true, unique=false)
|
|
|
+ */
|
|
|
+ private $email;
|
|
|
+
|
|
|
/**
|
|
|
* @ORM\OneToMany(targetEntity="AccessUrlRelCourse", mappedBy="url", cascade={"persist"}, orphanRemoval=true)
|
|
|
**/
|
|
@@ -243,4 +292,188 @@ class AccessUrl
|
|
|
{
|
|
|
return $this->urlType;
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @return int
|
|
|
+ */
|
|
|
+ public function getLimitActiveCourses()
|
|
|
+ {
|
|
|
+ return $this->limitActiveCourses;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @param int $limitActiveCourses
|
|
|
+ * @return AccessUrl
|
|
|
+ */
|
|
|
+ public function setLimitActiveCourses($limitActiveCourses)
|
|
|
+ {
|
|
|
+ $this->limitActiveCourses = $limitActiveCourses;
|
|
|
+ return $this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @return int
|
|
|
+ */
|
|
|
+ public function getLimitSessions()
|
|
|
+ {
|
|
|
+ return $this->limitSessions;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @param int $limitSessions
|
|
|
+ * @return AccessUrl
|
|
|
+ */
|
|
|
+ public function setLimitSessions($limitSessions)
|
|
|
+ {
|
|
|
+ $this->limitSessions = $limitSessions;
|
|
|
+ return $this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @return int
|
|
|
+ */
|
|
|
+ public function getLimitUsers()
|
|
|
+ {
|
|
|
+ return $this->limitUsers;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @param int $limitUsers
|
|
|
+ * @return AccessUrl
|
|
|
+ */
|
|
|
+ public function setLimitUsers($limitUsers)
|
|
|
+ {
|
|
|
+ $this->limitUsers = $limitUsers;
|
|
|
+ return $this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @return int
|
|
|
+ */
|
|
|
+ public function getLimitTeachers()
|
|
|
+ {
|
|
|
+ return $this->limitTeachers;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @param int $limitTeachers
|
|
|
+ * @return AccessUrl
|
|
|
+ */
|
|
|
+ public function setLimitTeachers($limitTeachers)
|
|
|
+ {
|
|
|
+ $this->limitTeachers = $limitTeachers;
|
|
|
+ return $this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @return int
|
|
|
+ */
|
|
|
+ public function getLimitDiskSpace()
|
|
|
+ {
|
|
|
+ return $this->limitDiskSpace;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @param int $limitDiskSpace
|
|
|
+ * @return AccessUrl
|
|
|
+ */
|
|
|
+ public function setLimitDiskSpace($limitDiskSpace)
|
|
|
+ {
|
|
|
+ $this->limitDiskSpace = $limitDiskSpace;
|
|
|
+ return $this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @return string
|
|
|
+ */
|
|
|
+ public function getEmail()
|
|
|
+ {
|
|
|
+ return $this->email;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @param string $email
|
|
|
+ * @return AccessUrl
|
|
|
+ */
|
|
|
+ public function setEmail($email)
|
|
|
+ {
|
|
|
+ $this->email = $email;
|
|
|
+ return $this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @return mixed
|
|
|
+ */
|
|
|
+ public function getCourse()
|
|
|
+ {
|
|
|
+ return $this->course;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @param mixed $course
|
|
|
+ * @return AccessUrl
|
|
|
+ */
|
|
|
+ public function setCourse($course)
|
|
|
+ {
|
|
|
+ $this->course = $course;
|
|
|
+ return $this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @return mixed
|
|
|
+ */
|
|
|
+ public function getSettings()
|
|
|
+ {
|
|
|
+ return $this->settings;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @param mixed $settings
|
|
|
+ * @return AccessUrl
|
|
|
+ */
|
|
|
+ public function setSettings($settings)
|
|
|
+ {
|
|
|
+ $this->settings = $settings;
|
|
|
+ return $this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @return mixed
|
|
|
+ */
|
|
|
+ public function getSessionCategory()
|
|
|
+ {
|
|
|
+ return $this->sessionCategory;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @param mixed $sessionCategory
|
|
|
+ * @return AccessUrl
|
|
|
+ */
|
|
|
+ public function setSessionCategory($sessionCategory)
|
|
|
+ {
|
|
|
+ $this->sessionCategory = $sessionCategory;
|
|
|
+ return $this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @return int
|
|
|
+ */
|
|
|
+ public function getLimitCourses()
|
|
|
+ {
|
|
|
+ return $this->limitCourses;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @param int $limitCourses
|
|
|
+ * @return AccessUrl
|
|
|
+ */
|
|
|
+ public function setLimitCourses($limitCourses)
|
|
|
+ {
|
|
|
+ $this->limitCourses = $limitCourses;
|
|
|
+ return $this;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
}
|