123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- use Gedmo\Mapping\Annotation as Gedmo;
- /**
- * ExtraFieldValues
- *
- * @ORM\MappedSuperclass
- */
- class ExtraFieldValues
- {
- /**
- * @var integer
- *
- * @ORM\Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @ORM\Id
- * @ORM\GeneratedValue(strategy="IDENTITY")
- */
- private $id;
- /**
- * @var integer
- *
- * @ORM\Column(name="field_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $fieldId;
- /**
- * @var \DateTime
- *
- * @ORM\Column(name="tms", type="datetime", precision=0, scale=0, nullable=false, unique=false)
- */
- private $tms;
- /**
- * @var integer
- *
- * @ORM\Column(name="user_id", type="string", precision=0, scale=0, nullable=false, unique=false)
- */
- private $userId;
- /**
- * @var string
- * @Gedmo\Versioned
- *
- * @ORM\Column(name="comment", type="string", precision=0, scale=0, nullable=true, unique=false)
- */
- private $comment;
- /**
- * Set comment
- *
- * @param string $comment
- * @return ExtraFieldValues
- */
- public function setComment($comment)
- {
- $this->comment = $comment;
- return $this;
- }
- /**
- * Get comment
- *
- * @return string
- */
- public function getComment()
- {
- return $this->comment;
- }
- /**
- * Get id
- *
- * @return integer
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set questionId
- *
- * @param integer $questionId
- * @return ExtraFieldValues
- */
- public function setQuestionId($questionId)
- {
- $this->questionId = $questionId;
- return $this;
- }
- /**
- * Get questionId
- *
- * @return integer
- */
- public function getQuestionId()
- {
- return $this->questionId;
- }
- /**
- * Set fieldId
- *
- * @param integer $fieldId
- * @return ExtraFieldValues
- */
- public function setFieldId($fieldId)
- {
- $this->fieldId = $fieldId;
- return $this;
- }
- /**
- * Get fieldId
- *
- * @return integer
- */
- public function getFieldId()
- {
- return $this->fieldId;
- }
- /**
- * Set tms
- *
- * @param \DateTime $tms
- * @return ExtraFieldValues
- */
- public function setTms($tms)
- {
- $this->tms = $tms;
- return $this;
- }
- /**
- * Get tms
- *
- * @return \DateTime
- */
- public function getTms()
- {
- return $this->tms;
- }
- /**
- * Set questionId
- *
- * @param integer $questionId
- * @return QuestionFieldValues
- */
- public function setUserId($id)
- {
- $this->userId = $id;
- return $this;
- }
- /**
- * Get questionId
- *
- * @return integer
- */
- public function getUserId()
- {
- return $this->userId;
- }
- }
|