Chamilo is a learning management system focused on ease of use and accessibility
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.
 
 
 
 
 
 
chamilo-lms/main/inc/Entity/EntityPromotion.php

214 lines
3.6 KiB

<?php
use Doctrine\ORM\Mapping as ORM;
/**
* EntityPromotion
*
* @Table(name="promotion")
* @Entity
*/
class EntityPromotion
{
/**
* @var integer
*
* @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
* @Id
* @GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @Column(name="name", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
*/
private $name;
/**
* @var string
*
* @Column(name="description", type="text", precision=0, scale=0, nullable=false, unique=false)
*/
private $description;
/**
* @var integer
*
* @Column(name="career_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $careerId;
/**
* @var integer
*
* @Column(name="status", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $status;
/**
* @var \DateTime
*
* @Column(name="created_at", type="datetime", precision=0, scale=0, nullable=false, unique=false)
*/
private $createdAt;
/**
* @var \DateTime
*
* @Column(name="updated_at", type="datetime", precision=0, scale=0, nullable=false, unique=false)
*/
private $updatedAt;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set name
*
* @param string $name
* @return EntityPromotion
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Set description
*
* @param string $description
* @return EntityPromotion
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set careerId
*
* @param integer $careerId
* @return EntityPromotion
*/
public function setCareerId($careerId)
{
$this->careerId = $careerId;
return $this;
}
/**
* Get careerId
*
* @return integer
*/
public function getCareerId()
{
return $this->careerId;
}
/**
* Set status
*
* @param integer $status
* @return EntityPromotion
*/
public function setStatus($status)
{
$this->status = $status;
return $this;
}
/**
* Get status
*
* @return integer
*/
public function getStatus()
{
return $this->status;
}
/**
* Set createdAt
*
* @param \DateTime $createdAt
* @return EntityPromotion
*/
public function setCreatedAt($createdAt)
{
$this->createdAt = $createdAt;
return $this;
}
/**
* Get createdAt
*
* @return \DateTime
*/
public function getCreatedAt()
{
return $this->createdAt;
}
/**
* Set updatedAt
*
* @param \DateTime $updatedAt
* @return EntityPromotion
*/
public function setUpdatedAt($updatedAt)
{
$this->updatedAt = $updatedAt;
return $this;
}
/**
* Get updatedAt
*
* @return \DateTime
*/
public function getUpdatedAt()
{
return $this->updatedAt;
}
}