PageRenderTime 23ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/src/AppBundle/Entity/Management/ResellerHistory.php

https://gitlab.com/StarsoftDevelopers/migrate
PHP | 283 lines | 91 code | 38 blank | 154 comment | 0 complexity | cd6d57055321de70d1cec581fa0d5950 MD5 | raw file
  1. <?php
  2. namespace AppBundle\Entity\Management;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * ResellerHistory
  6. *
  7. * @ORM\Table(name="reseller_history")
  8. * @ORM\Entity
  9. */
  10. class ResellerHistory
  11. {
  12. /**
  13. * @var integer
  14. *
  15. * @ORM\Column(name="ActionID", type="integer", nullable=false)
  16. * @ORM\Id
  17. * @ORM\GeneratedValue(strategy="IDENTITY")
  18. */
  19. private $actionid;
  20. /**
  21. * @var integer
  22. *
  23. * @ORM\Column(name="Type", type="integer", nullable=false)
  24. */
  25. private $type = '0';
  26. /**
  27. * @var string
  28. *
  29. * @ORM\Column(name="Module", type="string", length=64, nullable=false)
  30. */
  31. private $module = '';
  32. /**
  33. * @var string
  34. *
  35. * @ORM\Column(name="Function", type="string", length=64, nullable=false)
  36. */
  37. private $function = '';
  38. /**
  39. * @var string
  40. *
  41. * @ORM\Column(name="Message", type="text", length=65535, nullable=true)
  42. */
  43. private $message;
  44. /**
  45. * @var string
  46. *
  47. * @ORM\Column(name="Data", type="text", length=65535, nullable=true)
  48. */
  49. private $data;
  50. /**
  51. * @var \DateTime
  52. *
  53. * @ORM\Column(name="Date", type="datetime", nullable=false)
  54. */
  55. private $date = '0000-00-00 00:00:00';
  56. /**
  57. * @var string
  58. *
  59. * @ORM\Column(name="RemoteIP", type="string", length=16, nullable=false)
  60. */
  61. private $remoteip = '';
  62. /**
  63. * @var integer
  64. *
  65. * @ORM\Column(name="ResellerID", type="integer", nullable=false)
  66. */
  67. private $resellerid = '0';
  68. /**
  69. * Get actionid
  70. *
  71. * @return integer
  72. */
  73. public function getActionid()
  74. {
  75. return $this->actionid;
  76. }
  77. /**
  78. * Set type
  79. *
  80. * @param integer $type
  81. *
  82. * @return ResellerHistory
  83. */
  84. public function setType($type)
  85. {
  86. $this->type = $type;
  87. return $this;
  88. }
  89. /**
  90. * Get type
  91. *
  92. * @return integer
  93. */
  94. public function getType()
  95. {
  96. return $this->type;
  97. }
  98. /**
  99. * Set module
  100. *
  101. * @param string $module
  102. *
  103. * @return ResellerHistory
  104. */
  105. public function setModule($module)
  106. {
  107. $this->module = $module;
  108. return $this;
  109. }
  110. /**
  111. * Get module
  112. *
  113. * @return string
  114. */
  115. public function getModule()
  116. {
  117. return $this->module;
  118. }
  119. /**
  120. * Set function
  121. *
  122. * @param string $function
  123. *
  124. * @return ResellerHistory
  125. */
  126. public function setFunction($function)
  127. {
  128. $this->function = $function;
  129. return $this;
  130. }
  131. /**
  132. * Get function
  133. *
  134. * @return string
  135. */
  136. public function getFunction()
  137. {
  138. return $this->function;
  139. }
  140. /**
  141. * Set message
  142. *
  143. * @param string $message
  144. *
  145. * @return ResellerHistory
  146. */
  147. public function setMessage($message)
  148. {
  149. $this->message = $message;
  150. return $this;
  151. }
  152. /**
  153. * Get message
  154. *
  155. * @return string
  156. */
  157. public function getMessage()
  158. {
  159. return $this->message;
  160. }
  161. /**
  162. * Set data
  163. *
  164. * @param string $data
  165. *
  166. * @return ResellerHistory
  167. */
  168. public function setData($data)
  169. {
  170. $this->data = $data;
  171. return $this;
  172. }
  173. /**
  174. * Get data
  175. *
  176. * @return string
  177. */
  178. public function getData()
  179. {
  180. return $this->data;
  181. }
  182. /**
  183. * Set date
  184. *
  185. * @param \DateTime $date
  186. *
  187. * @return ResellerHistory
  188. */
  189. public function setDate($date)
  190. {
  191. $this->date = $date;
  192. return $this;
  193. }
  194. /**
  195. * Get date
  196. *
  197. * @return \DateTime
  198. */
  199. public function getDate()
  200. {
  201. return $this->date;
  202. }
  203. /**
  204. * Set remoteip
  205. *
  206. * @param string $remoteip
  207. *
  208. * @return ResellerHistory
  209. */
  210. public function setRemoteip($remoteip)
  211. {
  212. $this->remoteip = $remoteip;
  213. return $this;
  214. }
  215. /**
  216. * Get remoteip
  217. *
  218. * @return string
  219. */
  220. public function getRemoteip()
  221. {
  222. return $this->remoteip;
  223. }
  224. /**
  225. * Set resellerid
  226. *
  227. * @param integer $resellerid
  228. *
  229. * @return ResellerHistory
  230. */
  231. public function setResellerid($resellerid)
  232. {
  233. $this->resellerid = $resellerid;
  234. return $this;
  235. }
  236. /**
  237. * Get resellerid
  238. *
  239. * @return integer
  240. */
  241. public function getResellerid()
  242. {
  243. return $this->resellerid;
  244. }
  245. }