ExtraField.php 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * ExtraField
  6. *
  7. * @ORM\MappedSuperclass
  8. */
  9. class ExtraField
  10. {
  11. /**
  12. * @var integer
  13. *
  14. * @ORM\Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  15. * @ORM\Id
  16. * @ORM\GeneratedValue(strategy="IDENTITY")
  17. */
  18. private $id;
  19. /**
  20. * @var integer
  21. *
  22. * @ORM\Column(name="field_type", type="integer", precision=0, scale=0, nullable=false, unique=false)
  23. */
  24. private $fieldType;
  25. /**
  26. * @var string
  27. *
  28. * @ORM\Column(name="field_variable", type="string", length=64, precision=0, scale=0, nullable=false, unique=false)
  29. */
  30. private $fieldVariable;
  31. /**
  32. * @var string
  33. *
  34. * @ORM\Column(name="field_display_text", type="string", length=64, precision=0, scale=0, nullable=true, unique=false)
  35. */
  36. private $fieldDisplayText;
  37. /**
  38. * @var string
  39. *
  40. * @ORM\Column(name="field_default_value", type="text", precision=0, scale=0, nullable=true, unique=false)
  41. */
  42. private $fieldDefaultValue;
  43. /**
  44. * @var integer
  45. *
  46. * @ORM\Column(name="field_order", type="integer", precision=0, scale=0, nullable=true, unique=false)
  47. */
  48. private $fieldOrder;
  49. /**
  50. * @var boolean
  51. *
  52. * @ORM\Column(name="field_visible", type="boolean", precision=0, scale=0, nullable=true, unique=false)
  53. */
  54. private $fieldVisible;
  55. /**
  56. * @var boolean
  57. *
  58. * @ORM\Column(name="field_changeable", type="boolean", precision=0, scale=0, nullable=true, unique=false)
  59. */
  60. private $fieldChangeable;
  61. /**
  62. * @var boolean
  63. *
  64. * @ORM\Column(name="field_filter", type="boolean", precision=0, scale=0, nullable=true, unique=false)
  65. */
  66. private $fieldFilter;
  67. /**
  68. * @var \DateTime
  69. *
  70. * @ORM\Column(name="tms", type="datetime", precision=0, scale=0, nullable=false, unique=false)
  71. */
  72. private $tms;
  73. /**
  74. * Get id
  75. *
  76. * @return integer
  77. */
  78. public function getId()
  79. {
  80. return $this->id;
  81. }
  82. /**
  83. * Set fieldType
  84. *
  85. * @param integer $fieldType
  86. * @return ExtraField
  87. */
  88. public function setFieldType($fieldType)
  89. {
  90. $this->fieldType = $fieldType;
  91. return $this;
  92. }
  93. /**
  94. * Get fieldType
  95. *
  96. * @return integer
  97. */
  98. public function getFieldType()
  99. {
  100. return $this->fieldType;
  101. }
  102. /**
  103. * Set fieldVariable
  104. *
  105. * @param string $fieldVariable
  106. * @return ExtraField
  107. */
  108. public function setFieldVariable($fieldVariable)
  109. {
  110. $this->fieldVariable = $fieldVariable;
  111. return $this;
  112. }
  113. /**
  114. * Get fieldVariable
  115. *
  116. * @return string
  117. */
  118. public function getFieldVariable()
  119. {
  120. return $this->fieldVariable;
  121. }
  122. /**
  123. * Set fieldDisplayText
  124. *
  125. * @param string $fieldDisplayText
  126. * @return ExtraField
  127. */
  128. public function setFieldDisplayText($fieldDisplayText)
  129. {
  130. $this->fieldDisplayText = $fieldDisplayText;
  131. return $this;
  132. }
  133. /**
  134. * Get fieldDisplayText
  135. *
  136. * @return string
  137. */
  138. public function getFieldDisplayText()
  139. {
  140. return $this->fieldDisplayText;
  141. }
  142. /**
  143. * Set fieldDefaultValue
  144. *
  145. * @param string $fieldDefaultValue
  146. * @return ExtraField
  147. */
  148. public function setFieldDefaultValue($fieldDefaultValue)
  149. {
  150. $this->fieldDefaultValue = $fieldDefaultValue;
  151. return $this;
  152. }
  153. /**
  154. * Get fieldDefaultValue
  155. *
  156. * @return string
  157. */
  158. public function getFieldDefaultValue()
  159. {
  160. return $this->fieldDefaultValue;
  161. }
  162. /**
  163. * Set fieldOrder
  164. *
  165. * @param integer $fieldOrder
  166. * @return ExtraField
  167. */
  168. public function setFieldOrder($fieldOrder)
  169. {
  170. $this->fieldOrder = $fieldOrder;
  171. return $this;
  172. }
  173. /**
  174. * Get fieldOrder
  175. *
  176. * @return integer
  177. */
  178. public function getFieldOrder()
  179. {
  180. return $this->fieldOrder;
  181. }
  182. /**
  183. * Set fieldVisible
  184. *
  185. * @param boolean $fieldVisible
  186. * @return ExtraField
  187. */
  188. public function setFieldVisible($fieldVisible)
  189. {
  190. $this->fieldVisible = $fieldVisible;
  191. return $this;
  192. }
  193. /**
  194. * Get fieldVisible
  195. *
  196. * @return boolean
  197. */
  198. public function getFieldVisible()
  199. {
  200. return $this->fieldVisible;
  201. }
  202. /**
  203. * Set fieldChangeable
  204. *
  205. * @param boolean $fieldChangeable
  206. * @return ExtraField
  207. */
  208. public function setFieldChangeable($fieldChangeable)
  209. {
  210. $this->fieldChangeable = $fieldChangeable;
  211. return $this;
  212. }
  213. /**
  214. * Get fieldChangeable
  215. *
  216. * @return boolean
  217. */
  218. public function getFieldChangeable()
  219. {
  220. return $this->fieldChangeable;
  221. }
  222. /**
  223. * Set fieldFilter
  224. *
  225. * @param boolean $fieldFilter
  226. * @return ExtraField
  227. */
  228. public function setFieldFilter($fieldFilter)
  229. {
  230. $this->fieldFilter = $fieldFilter;
  231. return $this;
  232. }
  233. /**
  234. * Get fieldFilter
  235. *
  236. * @return boolean
  237. */
  238. public function getFieldFilter()
  239. {
  240. return $this->fieldFilter;
  241. }
  242. /**
  243. * Set tms
  244. *
  245. * @param \DateTime $tms
  246. * @return ExtraField
  247. */
  248. public function setTms($tms)
  249. {
  250. $this->tms = $tms;
  251. return $this;
  252. }
  253. /**
  254. * Get tms
  255. *
  256. * @return \DateTime
  257. */
  258. public function getTms()
  259. {
  260. return $this->tms;
  261. }
  262. }