123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- * ExtraField
- *
- * @ORM\MappedSuperclass
- */
- class ExtraField
- {
- /**
- * @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_type", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $fieldType;
- /**
- * @var string
- *
- * @ORM\Column(name="field_variable", type="string", length=64, precision=0, scale=0, nullable=false, unique=false)
- */
- private $fieldVariable;
- /**
- * @var string
- *
- * @ORM\Column(name="field_display_text", type="string", length=64, precision=0, scale=0, nullable=true, unique=false)
- */
- private $fieldDisplayText;
- /**
- * @var string
- *
- * @ORM\Column(name="field_default_value", type="text", precision=0, scale=0, nullable=true, unique=false)
- */
- private $fieldDefaultValue;
- /**
- * @var integer
- *
- * @ORM\Column(name="field_order", type="integer", precision=0, scale=0, nullable=true, unique=false)
- */
- private $fieldOrder;
- /**
- * @var boolean
- *
- * @ORM\Column(name="field_visible", type="boolean", precision=0, scale=0, nullable=true, unique=false)
- */
- private $fieldVisible;
- /**
- * @var boolean
- *
- * @ORM\Column(name="field_changeable", type="boolean", precision=0, scale=0, nullable=true, unique=false)
- */
- private $fieldChangeable;
- /**
- * @var boolean
- *
- * @ORM\Column(name="field_filter", type="boolean", precision=0, scale=0, nullable=true, unique=false)
- */
- private $fieldFilter;
- /**
- * @var \DateTime
- *
- * @ORM\Column(name="tms", type="datetime", precision=0, scale=0, nullable=false, unique=false)
- */
- private $tms;
- /**
- * Get id
- *
- * @return integer
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set fieldType
- *
- * @param integer $fieldType
- * @return ExtraField
- */
- public function setFieldType($fieldType)
- {
- $this->fieldType = $fieldType;
- return $this;
- }
- /**
- * Get fieldType
- *
- * @return integer
- */
- public function getFieldType()
- {
- return $this->fieldType;
- }
- /**
- * Set fieldVariable
- *
- * @param string $fieldVariable
- * @return ExtraField
- */
- public function setFieldVariable($fieldVariable)
- {
- $this->fieldVariable = $fieldVariable;
- return $this;
- }
- /**
- * Get fieldVariable
- *
- * @return string
- */
- public function getFieldVariable()
- {
- return $this->fieldVariable;
- }
- /**
- * Set fieldDisplayText
- *
- * @param string $fieldDisplayText
- * @return ExtraField
- */
- public function setFieldDisplayText($fieldDisplayText)
- {
- $this->fieldDisplayText = $fieldDisplayText;
- return $this;
- }
- /**
- * Get fieldDisplayText
- *
- * @return string
- */
- public function getFieldDisplayText()
- {
- return $this->fieldDisplayText;
- }
- /**
- * Set fieldDefaultValue
- *
- * @param string $fieldDefaultValue
- * @return ExtraField
- */
- public function setFieldDefaultValue($fieldDefaultValue)
- {
- $this->fieldDefaultValue = $fieldDefaultValue;
- return $this;
- }
- /**
- * Get fieldDefaultValue
- *
- * @return string
- */
- public function getFieldDefaultValue()
- {
- return $this->fieldDefaultValue;
- }
- /**
- * Set fieldOrder
- *
- * @param integer $fieldOrder
- * @return ExtraField
- */
- public function setFieldOrder($fieldOrder)
- {
- $this->fieldOrder = $fieldOrder;
- return $this;
- }
- /**
- * Get fieldOrder
- *
- * @return integer
- */
- public function getFieldOrder()
- {
- return $this->fieldOrder;
- }
- /**
- * Set fieldVisible
- *
- * @param boolean $fieldVisible
- * @return ExtraField
- */
- public function setFieldVisible($fieldVisible)
- {
- $this->fieldVisible = $fieldVisible;
- return $this;
- }
- /**
- * Get fieldVisible
- *
- * @return boolean
- */
- public function getFieldVisible()
- {
- return $this->fieldVisible;
- }
- /**
- * Set fieldChangeable
- *
- * @param boolean $fieldChangeable
- * @return ExtraField
- */
- public function setFieldChangeable($fieldChangeable)
- {
- $this->fieldChangeable = $fieldChangeable;
- return $this;
- }
- /**
- * Get fieldChangeable
- *
- * @return boolean
- */
- public function getFieldChangeable()
- {
- return $this->fieldChangeable;
- }
- /**
- * Set fieldFilter
- *
- * @param boolean $fieldFilter
- * @return ExtraField
- */
- public function setFieldFilter($fieldFilter)
- {
- $this->fieldFilter = $fieldFilter;
- return $this;
- }
- /**
- * Get fieldFilter
- *
- * @return boolean
- */
- public function getFieldFilter()
- {
- return $this->fieldFilter;
- }
- /**
- * Set tms
- *
- * @param \DateTime $tms
- * @return ExtraField
- */
- public function setTms($tms)
- {
- $this->tms = $tms;
- return $this;
- }
- /**
- * Get tms
- *
- * @return \DateTime
- */
- public function getTms()
- {
- return $this->tms;
- }
- }
|