parent
b58c7ac0ca
commit
16a491efd0
@ -1,202 +0,0 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
namespace Chamilo\TicketBundle\Entity; |
||||
|
||||
use Gedmo\Mapping\Annotation as Gedmo; |
||||
use Doctrine\ORM\Mapping as ORM; |
||||
use Chamilo\CoreBundle\Entity\Course; |
||||
use Chamilo\CoreBundle\Entity\Session; |
||||
|
||||
/** |
||||
* Status |
||||
* |
||||
* @ORM\Table( |
||||
* name="ticket_assigned_log", |
||||
* ) |
||||
* @ORM\Entity |
||||
*/ |
||||
class AssignedLog |
||||
{ |
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="id", type="integer") |
||||
* @ORM\Id |
||||
* @ORM\GeneratedValue |
||||
*/ |
||||
protected $id; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="name", type="string", length=255, nullable=false) |
||||
*/ |
||||
protected $name; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="description", type="text", nullable=true) |
||||
*/ |
||||
protected $description; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="total_tickets", type="int", nullable=false) |
||||
*/ |
||||
protected $totalTickets; |
||||
|
||||
|
||||
/** |
||||
* @var bool |
||||
* |
||||
* @ORM\Column(name="course_required", type="boolean", nullable=false) |
||||
*/ |
||||
protected $courseRequired; |
||||
|
||||
|
||||
/** |
||||
* @var Session |
||||
* |
||||
* @ORM\ManyToOne(targetEntity="Chamilo\TicketBundle\Project") |
||||
* @ORM\JoinColumn(name="project_id", referencedColumnName="id") |
||||
**/ |
||||
protected $project; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_insert_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertUserId; |
||||
|
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_insert_datetime", type="datetime", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertDateTime; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $lastEditUserId |
||||
|
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_datetime", type="datetime", nullable=true, unique=false) |
||||
*/ |
||||
protected $lastEditDateTime; |
||||
|
||||
|
||||
|
||||
/** |
||||
* @return string |
||||
*/ |
||||
public function __toString() |
||||
{ |
||||
return (string) $this->getName(); |
||||
} |
||||
|
||||
/** |
||||
* @return int |
||||
*/ |
||||
public function getId() |
||||
{ |
||||
return $this->id; |
||||
} |
||||
|
||||
/** |
||||
* @param int $id |
||||
* @return Level |
||||
*/ |
||||
public function setId($id) |
||||
{ |
||||
$this->id = $id; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return string |
||||
*/ |
||||
public function getName() |
||||
{ |
||||
return $this->name; |
||||
} |
||||
|
||||
/** |
||||
* @param string $name |
||||
* @return Level |
||||
*/ |
||||
public function setName($name) |
||||
{ |
||||
$this->name = $name; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return mixed |
||||
*/ |
||||
public function getPosition() |
||||
{ |
||||
return $this->position; |
||||
} |
||||
|
||||
/** |
||||
* @param mixed $position |
||||
* @return Level |
||||
*/ |
||||
public function setPosition($position) |
||||
{ |
||||
$this->position = $position; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return mixed |
||||
*/ |
||||
public function getShortName() |
||||
{ |
||||
return $this->shortName; |
||||
} |
||||
|
||||
/** |
||||
* @param mixed $shortName |
||||
* @return Level |
||||
*/ |
||||
public function setShortName($shortName) |
||||
{ |
||||
$this->shortName = $shortName; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return Profile |
||||
*/ |
||||
public function getProfile() |
||||
{ |
||||
return $this->profile; |
||||
} |
||||
|
||||
/** |
||||
* @param mixed $profile |
||||
* @return Level |
||||
*/ |
||||
public function setProfile($profile) |
||||
{ |
||||
$this->profile = $profile; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
|
||||
} |
||||
@ -1,202 +0,0 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
namespace Chamilo\TicketBundle\Entity; |
||||
|
||||
use Gedmo\Mapping\Annotation as Gedmo; |
||||
use Doctrine\ORM\Mapping as ORM; |
||||
use Chamilo\CoreBundle\Entity\Course; |
||||
use Chamilo\CoreBundle\Entity\Session; |
||||
|
||||
/** |
||||
* Status |
||||
* |
||||
* @ORM\Table( |
||||
* name="ticket_category", |
||||
* ) |
||||
* @ORM\Entity |
||||
*/ |
||||
class Category |
||||
{ |
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="id", type="integer") |
||||
* @ORM\Id |
||||
* @ORM\GeneratedValue |
||||
*/ |
||||
protected $id; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="name", type="string", length=255, nullable=false) |
||||
*/ |
||||
protected $name; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="description", type="text", nullable=true) |
||||
*/ |
||||
protected $description; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="total_tickets", type="int", nullable=false) |
||||
*/ |
||||
protected $totalTickets; |
||||
|
||||
|
||||
/** |
||||
* @var bool |
||||
* |
||||
* @ORM\Column(name="course_required", type="boolean", nullable=false) |
||||
*/ |
||||
protected $courseRequired; |
||||
|
||||
|
||||
/** |
||||
* @var Session |
||||
* |
||||
* @ORM\ManyToOne(targetEntity="Chamilo\TicketBundle\Project") |
||||
* @ORM\JoinColumn(name="project_id", referencedColumnName="id") |
||||
**/ |
||||
protected $project; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_insert_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertUserId; |
||||
|
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_insert_datetime", type="datetime", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertDateTime; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $lastEditUserId |
||||
|
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_datetime", type="datetime", nullable=true, unique=false) |
||||
*/ |
||||
protected $lastEditDateTime; |
||||
|
||||
|
||||
|
||||
/** |
||||
* @return string |
||||
*/ |
||||
public function __toString() |
||||
{ |
||||
return (string) $this->getName(); |
||||
} |
||||
|
||||
/** |
||||
* @return int |
||||
*/ |
||||
public function getId() |
||||
{ |
||||
return $this->id; |
||||
} |
||||
|
||||
/** |
||||
* @param int $id |
||||
* @return Level |
||||
*/ |
||||
public function setId($id) |
||||
{ |
||||
$this->id = $id; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return string |
||||
*/ |
||||
public function getName() |
||||
{ |
||||
return $this->name; |
||||
} |
||||
|
||||
/** |
||||
* @param string $name |
||||
* @return Level |
||||
*/ |
||||
public function setName($name) |
||||
{ |
||||
$this->name = $name; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return mixed |
||||
*/ |
||||
public function getPosition() |
||||
{ |
||||
return $this->position; |
||||
} |
||||
|
||||
/** |
||||
* @param mixed $position |
||||
* @return Level |
||||
*/ |
||||
public function setPosition($position) |
||||
{ |
||||
$this->position = $position; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return mixed |
||||
*/ |
||||
public function getShortName() |
||||
{ |
||||
return $this->shortName; |
||||
} |
||||
|
||||
/** |
||||
* @param mixed $shortName |
||||
* @return Level |
||||
*/ |
||||
public function setShortName($shortName) |
||||
{ |
||||
$this->shortName = $shortName; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return Profile |
||||
*/ |
||||
public function getProfile() |
||||
{ |
||||
return $this->profile; |
||||
} |
||||
|
||||
/** |
||||
* @param mixed $profile |
||||
* @return Level |
||||
*/ |
||||
public function setProfile($profile) |
||||
{ |
||||
$this->profile = $profile; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
|
||||
} |
||||
@ -1,197 +0,0 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
namespace Chamilo\TicketBundle\Entity; |
||||
|
||||
use Gedmo\Mapping\Annotation as Gedmo; |
||||
use Doctrine\ORM\Mapping as ORM; |
||||
use Chamilo\CoreBundle\Entity\Course; |
||||
use Chamilo\CoreBundle\Entity\Session; |
||||
|
||||
/** |
||||
* Ticket |
||||
* |
||||
* @ORM\Table( |
||||
* name="ticket_message", |
||||
* ) |
||||
* @ORM\Entity |
||||
*/ |
||||
class Message |
||||
{ |
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="id", type="integer") |
||||
* @ORM\Id |
||||
* @ORM\GeneratedValue |
||||
*/ |
||||
protected $id; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="subject", type="string", length=255, nullable=false) |
||||
*/ |
||||
protected $subject; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="message", type="text", nullable=true) |
||||
*/ |
||||
protected $message; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="status", type="string", nullable=false) |
||||
*/ |
||||
protected $status; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="ip_address", type="string", nullable=false) |
||||
*/ |
||||
protected $ipAddress; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_insert_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertUserId; |
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_insert_datetime", type="datetime", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertDateTime; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $lastEditUserId |
||||
|
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_datetime", type="datetime", nullable=true, unique=false) |
||||
*/ |
||||
protected $lastEditDateTime; |
||||
|
||||
/** |
||||
* |
||||
* @Gedmo\SortableGroup |
||||
* @ORM\ManyToOne(targetEntity="Chamilo\SkillBundle\Entity\Profile", inversedBy="level") |
||||
* @ORM\JoinColumn(name="profile_id", referencedColumnName="id") |
||||
**/ |
||||
protected $category; |
||||
|
||||
/** |
||||
* @return string |
||||
*/ |
||||
public function __toString() |
||||
{ |
||||
return (string) $this->getName(); |
||||
} |
||||
|
||||
/** |
||||
* @return int |
||||
*/ |
||||
public function getId() |
||||
{ |
||||
return $this->id; |
||||
} |
||||
|
||||
/** |
||||
* @param int $id |
||||
* @return Level |
||||
*/ |
||||
public function setId($id) |
||||
{ |
||||
$this->id = $id; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return string |
||||
*/ |
||||
public function getName() |
||||
{ |
||||
return $this->name; |
||||
} |
||||
|
||||
/** |
||||
* @param string $name |
||||
* @return Level |
||||
*/ |
||||
public function setName($name) |
||||
{ |
||||
$this->name = $name; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return mixed |
||||
*/ |
||||
public function getPosition() |
||||
{ |
||||
return $this->position; |
||||
} |
||||
|
||||
/** |
||||
* @param mixed $position |
||||
* @return Level |
||||
*/ |
||||
public function setPosition($position) |
||||
{ |
||||
$this->position = $position; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return mixed |
||||
*/ |
||||
public function getShortName() |
||||
{ |
||||
return $this->shortName; |
||||
} |
||||
|
||||
/** |
||||
* @param mixed $shortName |
||||
* @return Level |
||||
*/ |
||||
public function setShortName($shortName) |
||||
{ |
||||
$this->shortName = $shortName; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return Profile |
||||
*/ |
||||
public function getProfile() |
||||
{ |
||||
return $this->profile; |
||||
} |
||||
|
||||
/** |
||||
* @param mixed $profile |
||||
* @return Level |
||||
*/ |
||||
public function setProfile($profile) |
||||
{ |
||||
$this->profile = $profile; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
|
||||
} |
||||
@ -1,197 +0,0 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
namespace Chamilo\TicketBundle\Entity; |
||||
|
||||
use Gedmo\Mapping\Annotation as Gedmo; |
||||
use Doctrine\ORM\Mapping as ORM; |
||||
use Chamilo\CoreBundle\Entity\Course; |
||||
use Chamilo\CoreBundle\Entity\Session; |
||||
|
||||
/** |
||||
* Ticket |
||||
* |
||||
* @ORM\Table( |
||||
* name="ticket_message", |
||||
* ) |
||||
* @ORM\Entity |
||||
*/ |
||||
class Priority |
||||
{ |
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="id", type="integer") |
||||
* @ORM\Id |
||||
* @ORM\GeneratedValue |
||||
*/ |
||||
protected $id; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="name", type="string", length=255, nullable=false) |
||||
*/ |
||||
protected $name; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="description", type="text", nullable=true) |
||||
*/ |
||||
protected $description; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="color", type="string", nullable=false) |
||||
*/ |
||||
protected $color; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="urgency", type="string", nullable=false) |
||||
*/ |
||||
protected $urgency; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_insert_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertUserId; |
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_insert_datetime", type="datetime", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertDateTime; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $lastEditUserId |
||||
|
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_datetime", type="datetime", nullable=true, unique=false) |
||||
*/ |
||||
protected $lastEditDateTime; |
||||
|
||||
/** |
||||
* |
||||
* @Gedmo\SortableGroup |
||||
* @ORM\ManyToOne(targetEntity="Chamilo\SkillBundle\Entity\Profile", inversedBy="level") |
||||
* @ORM\JoinColumn(name="profile_id", referencedColumnName="id") |
||||
**/ |
||||
protected $category; |
||||
|
||||
/** |
||||
* @return string |
||||
*/ |
||||
public function __toString() |
||||
{ |
||||
return (string) $this->getName(); |
||||
} |
||||
|
||||
/** |
||||
* @return int |
||||
*/ |
||||
public function getId() |
||||
{ |
||||
return $this->id; |
||||
} |
||||
|
||||
/** |
||||
* @param int $id |
||||
* @return Level |
||||
*/ |
||||
public function setId($id) |
||||
{ |
||||
$this->id = $id; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return string |
||||
*/ |
||||
public function getName() |
||||
{ |
||||
return $this->name; |
||||
} |
||||
|
||||
/** |
||||
* @param string $name |
||||
* @return Level |
||||
*/ |
||||
public function setName($name) |
||||
{ |
||||
$this->name = $name; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return mixed |
||||
*/ |
||||
public function getPosition() |
||||
{ |
||||
return $this->position; |
||||
} |
||||
|
||||
/** |
||||
* @param mixed $position |
||||
* @return Level |
||||
*/ |
||||
public function setPosition($position) |
||||
{ |
||||
$this->position = $position; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return mixed |
||||
*/ |
||||
public function getShortName() |
||||
{ |
||||
return $this->shortName; |
||||
} |
||||
|
||||
/** |
||||
* @param mixed $shortName |
||||
* @return Level |
||||
*/ |
||||
public function setShortName($shortName) |
||||
{ |
||||
$this->shortName = $shortName; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return Profile |
||||
*/ |
||||
public function getProfile() |
||||
{ |
||||
return $this->profile; |
||||
} |
||||
|
||||
/** |
||||
* @param mixed $profile |
||||
* @return Level |
||||
*/ |
||||
public function setProfile($profile) |
||||
{ |
||||
$this->profile = $profile; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
|
||||
} |
||||
@ -1,148 +0,0 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
namespace Chamilo\TicketBundle\Entity; |
||||
|
||||
use Gedmo\Mapping\Annotation as Gedmo; |
||||
use Doctrine\ORM\Mapping as ORM; |
||||
use Chamilo\CoreBundle\Entity\Course; |
||||
use Chamilo\CoreBundle\Entity\Session; |
||||
|
||||
/** |
||||
* Status |
||||
* |
||||
* @ORM\Table( |
||||
* name="ticket_status", |
||||
* ) |
||||
* @ORM\Entity |
||||
*/ |
||||
class Status |
||||
{ |
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="id", type="integer") |
||||
* @ORM\Id |
||||
* @ORM\GeneratedValue |
||||
*/ |
||||
protected $id; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="name", type="string", length=255, nullable=false) |
||||
*/ |
||||
protected $name; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="description", type="text", nullable=true) |
||||
*/ |
||||
protected $description; |
||||
|
||||
/** |
||||
* @return string |
||||
*/ |
||||
public function __toString() |
||||
{ |
||||
return (string) $this->getName(); |
||||
} |
||||
|
||||
/** |
||||
* @return int |
||||
*/ |
||||
public function getId() |
||||
{ |
||||
return $this->id; |
||||
} |
||||
|
||||
/** |
||||
* @param int $id |
||||
* @return Level |
||||
*/ |
||||
public function setId($id) |
||||
{ |
||||
$this->id = $id; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return string |
||||
*/ |
||||
public function getName() |
||||
{ |
||||
return $this->name; |
||||
} |
||||
|
||||
/** |
||||
* @param string $name |
||||
* @return Level |
||||
*/ |
||||
public function setName($name) |
||||
{ |
||||
$this->name = $name; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return mixed |
||||
*/ |
||||
public function getPosition() |
||||
{ |
||||
return $this->position; |
||||
} |
||||
|
||||
/** |
||||
* @param mixed $position |
||||
* @return Level |
||||
*/ |
||||
public function setPosition($position) |
||||
{ |
||||
$this->position = $position; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return mixed |
||||
*/ |
||||
public function getShortName() |
||||
{ |
||||
return $this->shortName; |
||||
} |
||||
|
||||
/** |
||||
* @param mixed $shortName |
||||
* @return Level |
||||
*/ |
||||
public function setShortName($shortName) |
||||
{ |
||||
$this->shortName = $shortName; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return Profile |
||||
*/ |
||||
public function getProfile() |
||||
{ |
||||
return $this->profile; |
||||
} |
||||
|
||||
/** |
||||
* @param mixed $profile |
||||
* @return Level |
||||
*/ |
||||
public function setProfile($profile) |
||||
{ |
||||
$this->profile = $profile; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
|
||||
} |
||||
@ -1,199 +0,0 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
namespace Chamilo\TicketBundle\Entity; |
||||
|
||||
use Gedmo\Mapping\Annotation as Gedmo; |
||||
use Doctrine\ORM\Mapping as ORM; |
||||
use Chamilo\CoreBundle\Entity\Course; |
||||
use Chamilo\CoreBundle\Entity\Session; |
||||
|
||||
/** |
||||
* Project |
||||
* |
||||
* @ORM\Table( |
||||
* name="ticket_project", |
||||
* ) |
||||
* @ORM\Entity |
||||
*/ |
||||
class Project |
||||
{ |
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="id", type="integer") |
||||
* @ORM\Id |
||||
* @ORM\GeneratedValue |
||||
*/ |
||||
protected $id; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="name", type="string", length=255, nullable=false) |
||||
*/ |
||||
protected $name; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="descrition", type="text", nullable=true) |
||||
*/ |
||||
protected $descrition; |
||||
|
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="email", type="string", nullable=true) |
||||
*/ |
||||
protected $email; |
||||
|
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="other_area", type="int", nullable=true) |
||||
*/ |
||||
protected $otherArea; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_insert_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertUserId; |
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_insert_datetime", type="datetime", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertDateTime; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $lastEditUserId |
||||
|
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_datetime", type="datetime", nullable=true, unique=false) |
||||
*/ |
||||
protected $lastEditDateTime; |
||||
|
||||
/** |
||||
* |
||||
* @Gedmo\SortableGroup |
||||
* @ORM\ManyToOne(targetEntity="Chamilo\SkillBundle\Entity\Profile", inversedBy="level") |
||||
* @ORM\JoinColumn(name="profile_id", referencedColumnName="id") |
||||
**/ |
||||
protected $category; |
||||
|
||||
/** |
||||
* @return string |
||||
*/ |
||||
public function __toString() |
||||
{ |
||||
return (string) $this->getName(); |
||||
} |
||||
|
||||
/** |
||||
* @return int |
||||
*/ |
||||
public function getId() |
||||
{ |
||||
return $this->id; |
||||
} |
||||
|
||||
/** |
||||
* @param int $id |
||||
* @return Level |
||||
*/ |
||||
public function setId($id) |
||||
{ |
||||
$this->id = $id; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return string |
||||
*/ |
||||
public function getName() |
||||
{ |
||||
return $this->name; |
||||
} |
||||
|
||||
/** |
||||
* @param string $name |
||||
* @return Level |
||||
*/ |
||||
public function setName($name) |
||||
{ |
||||
$this->name = $name; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return mixed |
||||
*/ |
||||
public function getPosition() |
||||
{ |
||||
return $this->position; |
||||
} |
||||
|
||||
/** |
||||
* @param mixed $position |
||||
* @return Level |
||||
*/ |
||||
public function setPosition($position) |
||||
{ |
||||
$this->position = $position; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return mixed |
||||
*/ |
||||
public function getShortName() |
||||
{ |
||||
return $this->shortName; |
||||
} |
||||
|
||||
/** |
||||
* @param mixed $shortName |
||||
* @return Level |
||||
*/ |
||||
public function setShortName($shortName) |
||||
{ |
||||
$this->shortName = $shortName; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* @return Profile |
||||
*/ |
||||
public function getProfile() |
||||
{ |
||||
return $this->profile; |
||||
} |
||||
|
||||
/** |
||||
* @param mixed $profile |
||||
* @return Level |
||||
*/ |
||||
public function setProfile($profile) |
||||
{ |
||||
$this->profile = $profile; |
||||
|
||||
return $this; |
||||
} |
||||
|
||||
|
||||
} |
||||
@ -0,0 +1,57 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
namespace Chamilo\TicketBundle\Entity; |
||||
|
||||
use Gedmo\Mapping\Annotation as Gedmo; |
||||
use Doctrine\ORM\Mapping as ORM; |
||||
|
||||
/** |
||||
* Class AssignedLog |
||||
* @ORM\Table( |
||||
* name="ticket_assigned_log", |
||||
* ) |
||||
* @ORM\Entity |
||||
* @package Chamilo\TicketBundle\Entity |
||||
*/ |
||||
class AssignedLog |
||||
{ |
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="id", type="integer") |
||||
* @ORM\Id |
||||
* @ORM\GeneratedValue |
||||
*/ |
||||
protected $id; |
||||
|
||||
/** |
||||
* @var Ticket |
||||
* |
||||
* @ORM\ManyToOne(targetEntity="Chamilo\TicketBundle\Entity\Ticket") |
||||
* @ORM\JoinColumn(name="ticket_id", referencedColumnName="id") |
||||
**/ |
||||
protected $ticket; |
||||
|
||||
/** |
||||
* @var Ticket |
||||
* |
||||
* @ORM\ManyToOne(targetEntity="Chamilo\UserBundle\Entity\User") |
||||
* @ORM\JoinColumn(name="user_id", referencedColumnName="id") |
||||
**/ |
||||
protected $user; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_insert_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertUserId; |
||||
|
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="assigned_date", type="datetime", nullable=false, unique=false) |
||||
*/ |
||||
protected $assignedDate; |
||||
} |
||||
@ -0,0 +1,91 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
namespace Chamilo\TicketBundle\Entity; |
||||
|
||||
use Gedmo\Mapping\Annotation as Gedmo; |
||||
use Doctrine\ORM\Mapping as ORM; |
||||
use Chamilo\CoreBundle\Entity\Course; |
||||
use Chamilo\CoreBundle\Entity\Session; |
||||
|
||||
/** |
||||
* Category |
||||
* |
||||
* @ORM\Table(name="ticket_category") |
||||
* @ORM\Entity |
||||
*/ |
||||
class Category |
||||
{ |
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="id", type="integer") |
||||
* @ORM\Id |
||||
* @ORM\GeneratedValue |
||||
*/ |
||||
protected $id; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="name", type="string", length=255, nullable=false) |
||||
*/ |
||||
protected $name; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="description", type="text", nullable=true) |
||||
*/ |
||||
protected $description; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="total_tickets", type="integer", nullable=false) |
||||
*/ |
||||
protected $totalTickets; |
||||
|
||||
/** |
||||
* @var bool |
||||
* |
||||
* @ORM\Column(name="course_required", type="boolean", nullable=false) |
||||
*/ |
||||
protected $courseRequired; |
||||
|
||||
/** |
||||
* @var Project |
||||
* |
||||
* @ORM\ManyToOne(targetEntity="Chamilo\TicketBundle\Entity\Project") |
||||
* @ORM\JoinColumn(name="project_id", referencedColumnName="id") |
||||
**/ |
||||
protected $project; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_insert_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertUserId; |
||||
|
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_insert_datetime", type="datetime", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertDateTime; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $lastEditUserId; |
||||
|
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_datetime", type="datetime", nullable=true, unique=false) |
||||
*/ |
||||
protected $lastEditDateTime; |
||||
} |
||||
@ -0,0 +1,44 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
namespace Chamilo\TicketBundle\Entity; |
||||
|
||||
use Gedmo\Mapping\Annotation as Gedmo; |
||||
use Doctrine\ORM\Mapping as ORM; |
||||
use Chamilo\TicketBundle\Entity\Category; |
||||
use Chamilo\UserBundle\Entity\User; |
||||
|
||||
/** |
||||
* CategoryRelUser |
||||
* |
||||
* @ORM\Table(name="ticket_category_rel_user") |
||||
* @ORM\Entity |
||||
*/ |
||||
class CategoryRelUser |
||||
{ |
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="id", type="integer") |
||||
* @ORM\Id |
||||
* @ORM\GeneratedValue |
||||
*/ |
||||
protected $id; |
||||
|
||||
/** |
||||
* @var Category |
||||
* |
||||
* @ORM\ManyToOne(targetEntity="Chamilo\TicketBundle\Entity\Category") |
||||
* @ORM\JoinColumn(name="category_id", referencedColumnName="id") |
||||
**/ |
||||
protected $category; |
||||
|
||||
/** |
||||
* @var Category |
||||
* |
||||
* @ORM\ManyToOne(targetEntity="Chamilo\UserBundle\Entity\User") |
||||
* @ORM\JoinColumn(name="user_id", referencedColumnName="id") |
||||
**/ |
||||
protected $user; |
||||
|
||||
} |
||||
@ -0,0 +1,83 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
namespace Chamilo\TicketBundle\Entity; |
||||
|
||||
use Gedmo\Mapping\Annotation as Gedmo; |
||||
use Doctrine\ORM\Mapping as ORM; |
||||
use Chamilo\CoreBundle\Entity\Course; |
||||
use Chamilo\CoreBundle\Entity\Session; |
||||
|
||||
/** |
||||
* Message |
||||
* |
||||
* @ORM\Table(name="ticket_message") |
||||
* @ORM\Entity |
||||
*/ |
||||
class Message |
||||
{ |
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="id", type="integer") |
||||
* @ORM\Id |
||||
* @ORM\GeneratedValue |
||||
*/ |
||||
protected $id; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="subject", type="string", length=255, nullable=false) |
||||
*/ |
||||
protected $subject; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="message", type="text", nullable=true) |
||||
*/ |
||||
protected $message; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="status", type="string", nullable=false) |
||||
*/ |
||||
protected $status; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="ip_address", type="string", nullable=false) |
||||
*/ |
||||
protected $ipAddress; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_insert_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertUserId; |
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_insert_datetime", type="datetime", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertDateTime; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $lastEditUserId; |
||||
|
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_datetime", type="datetime", nullable=true, unique=false) |
||||
*/ |
||||
protected $lastEditDateTime; |
||||
|
||||
} |
||||
@ -0,0 +1,93 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
namespace Chamilo\TicketBundle\Entity; |
||||
|
||||
use Gedmo\Mapping\Annotation as Gedmo; |
||||
use Doctrine\ORM\Mapping as ORM; |
||||
use Chamilo\CoreBundle\Entity\Course; |
||||
use Chamilo\CoreBundle\Entity\Session; |
||||
|
||||
/** |
||||
* MessageAttachment |
||||
* |
||||
* @ORM\Table(name="ticket_message_attachments") |
||||
* @ORM\Entity |
||||
*/ |
||||
class MessageAttachment |
||||
{ |
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="id", type="integer") |
||||
* @ORM\Id |
||||
* @ORM\GeneratedValue |
||||
*/ |
||||
protected $id; |
||||
|
||||
/** |
||||
* @var Ticket |
||||
* |
||||
* @ORM\ManyToOne(targetEntity="Chamilo\TicketBundle\Entity\Ticket") |
||||
* @ORM\JoinColumn(name="ticket_id", referencedColumnName="id") |
||||
**/ |
||||
protected $ticket; |
||||
|
||||
/** |
||||
* @var Message |
||||
* |
||||
* @ORM\ManyToOne(targetEntity="Chamilo\TicketBundle\Entity\Message") |
||||
* @ORM\JoinColumn(name="message_id", referencedColumnName="id") |
||||
**/ |
||||
protected $message; |
||||
|
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="path", type="string", length=255, nullable=false) |
||||
*/ |
||||
protected $path; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="filename", type="text", nullable=false) |
||||
*/ |
||||
protected $filename; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="size", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $size; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_insert_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertUserId; |
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_insert_datetime", type="datetime", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertDateTime; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $lastEditUserId; |
||||
|
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_datetime", type="datetime", nullable=true, unique=false) |
||||
*/ |
||||
protected $lastEditDateTime; |
||||
|
||||
} |
||||
@ -0,0 +1,82 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
namespace Chamilo\TicketBundle\Entity; |
||||
|
||||
use Gedmo\Mapping\Annotation as Gedmo; |
||||
use Doctrine\ORM\Mapping as ORM; |
||||
use Chamilo\CoreBundle\Entity\Course; |
||||
use Chamilo\CoreBundle\Entity\Session; |
||||
|
||||
/** |
||||
* Priority |
||||
* |
||||
* @ORM\Table(name="ticket_priority") |
||||
* @ORM\Entity |
||||
*/ |
||||
class Priority |
||||
{ |
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="id", type="integer") |
||||
* @ORM\Id |
||||
* @ORM\GeneratedValue |
||||
*/ |
||||
protected $id; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="name", type="string", length=255, nullable=false) |
||||
*/ |
||||
protected $name; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="description", type="text", nullable=true) |
||||
*/ |
||||
protected $description; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="color", type="string", nullable=false) |
||||
*/ |
||||
protected $color; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="urgency", type="string", nullable=false) |
||||
*/ |
||||
protected $urgency; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_insert_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertUserId; |
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_insert_datetime", type="datetime", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertDateTime; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $lastEditUserId; |
||||
|
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_datetime", type="datetime", nullable=true, unique=false) |
||||
*/ |
||||
protected $lastEditDateTime; |
||||
} |
||||
@ -0,0 +1,83 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
namespace Chamilo\TicketBundle\Entity; |
||||
|
||||
use Gedmo\Mapping\Annotation as Gedmo; |
||||
use Doctrine\ORM\Mapping as ORM; |
||||
use Chamilo\CoreBundle\Entity\Course; |
||||
use Chamilo\CoreBundle\Entity\Session; |
||||
|
||||
/** |
||||
* Project |
||||
* |
||||
* @ORM\Table(name="ticket_project") |
||||
* @ORM\Entity |
||||
*/ |
||||
class Project |
||||
{ |
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="id", type="integer") |
||||
* @ORM\Id |
||||
* @ORM\GeneratedValue |
||||
*/ |
||||
protected $id; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="name", type="string", length=255, nullable=false) |
||||
*/ |
||||
protected $name; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="description", type="text", nullable=true) |
||||
*/ |
||||
protected $description; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="email", type="string", nullable=true) |
||||
*/ |
||||
protected $email; |
||||
|
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="other_area", type="integer", nullable=true) |
||||
*/ |
||||
protected $otherArea; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_insert_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertUserId; |
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_insert_datetime", type="datetime", nullable=false, unique=false) |
||||
*/ |
||||
protected $insertDateTime; |
||||
|
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_user_id", type="integer", nullable=false, unique=false) |
||||
*/ |
||||
protected $lastEditUserId; |
||||
|
||||
/** |
||||
* @var \DateTime |
||||
* |
||||
* @ORM\Column(name="sys_lastedit_datetime", type="datetime", nullable=true, unique=false) |
||||
*/ |
||||
protected $lastEditDateTime; |
||||
} |
||||
@ -0,0 +1,41 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
namespace Chamilo\TicketBundle\Entity; |
||||
|
||||
use Gedmo\Mapping\Annotation as Gedmo; |
||||
use Doctrine\ORM\Mapping as ORM; |
||||
use Chamilo\CoreBundle\Entity\Course; |
||||
use Chamilo\CoreBundle\Entity\Session; |
||||
|
||||
/** |
||||
* Status |
||||
* |
||||
* @ORM\Table(name="ticket_status") |
||||
* @ORM\Entity |
||||
*/ |
||||
class Status |
||||
{ |
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="id", type="integer") |
||||
* @ORM\Id |
||||
* @ORM\GeneratedValue |
||||
*/ |
||||
protected $id; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="name", type="string", length=255, nullable=false) |
||||
*/ |
||||
protected $name; |
||||
|
||||
/** |
||||
* @var string |
||||
* |
||||
* @ORM\Column(name="description", type="text", nullable=true) |
||||
*/ |
||||
protected $description; |
||||
} |
||||
Loading…
Reference in new issue