12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- use Gedmo\Mapping\Annotation as Gedmo;
- /**
- * CourseFieldValues
- *
- * @ORM\Table(name="course_field_values")
- * @ORM\Entity
- */
- class CourseFieldValues extends ExtraFieldValues
- {
- /**
- * @var integer
- *
- * @ORM\Column(name="course_code", type="string", precision=0, scale=0, nullable=false, unique=false)
- */
- private $courseCode;
- /**
- * @var string
- * @Gedmo\Versioned
- *
- * @ORM\Column(name="field_value", type="text", precision=0, scale=0, nullable=true, unique=false)
- */
- private $fieldValue;
- /**
- * Set fieldValue
- *
- * @param string $fieldValue
- * @return ExtraFieldValues
- */
- public function setFieldValue($fieldValue)
- {
- $this->fieldValue = $fieldValue;
- return $this;
- }
- /**
- * Get fieldValue
- *
- * @return string
- */
- public function getFieldValue()
- {
- return $this->fieldValue;
- }
- /**
- * Set questionId
- *
- * @param integer $questionId
- * @return QuestionFieldValues
- */
- public function setCourseCode($code)
- {
- $this->courseCode = $code;
- return $this;
- }
- /**
- * Get questionId
- *
- * @return integer
- */
- public function getCourseCode()
- {
- return $this->courseCode;
- }
- }
|