123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- <?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;
- }
- }
|