src/Entity/Creditcards.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * Creditcards
  6. */
  7. #[ORM\Table(name: 'creditCards')]
  8. #[ORM\Index(name: 'authnetError', columns: ['authnetError'])]
  9. #[ORM\Index(name: 'ccNum', columns: ['ccNum'])]
  10. #[ORM\Index(name: 'studentId', columns: ['studentId'])]
  11. #[ORM\Entity(repositoryClass: 'App\Repository\CreditCardsRepository')]
  12. class Creditcards
  13. {
  14. /**
  15. * @var int
  16. */
  17. #[ORM\Column(name: 'id', type: 'integer', nullable: false)]
  18. #[ORM\Id]
  19. #[ORM\GeneratedValue(strategy: 'IDENTITY')]
  20. private $id;
  21. /**
  22. * @var int|null
  23. */
  24. #[ORM\Column(name: 'studentId', type: 'integer', nullable: true)]
  25. private $studentid;
  26. /**
  27. * @var int|null
  28. */
  29. #[ORM\Column(name: 'schoolId', type: 'integer', nullable: true)]
  30. private $schoolid;
  31. /**
  32. * @var string|null
  33. */
  34. #[ORM\Column(name: 'ccNum', type: 'string', length: 20, nullable: true)]
  35. private $ccnum;
  36. /**
  37. * @var string|null
  38. */
  39. #[ORM\Column(name: 'ccCimId', type: 'string', length: 20, nullable: true)]
  40. private $cccimid;
  41. /**
  42. * @var bool|null
  43. */
  44. #[ORM\Column(name: 'authnetError', type: 'boolean', nullable: true)]
  45. private $authneterror;
  46. /**
  47. * @var string|null
  48. */
  49. #[ORM\Column(name: 'status', type: 'string', length: 255, nullable: true)]
  50. private $status;
  51. /**
  52. * @var int|null
  53. */
  54. #[ORM\Column(name: 'ccType', type: 'integer', nullable: true)]
  55. private $cctype;
  56. /**
  57. * @var string|null
  58. */
  59. #[ORM\Column(name: 'cc4digits', type: 'string', length: 8, nullable: true)]
  60. private $cc4digits;
  61. /**
  62. * @var int|null
  63. */
  64. #[ORM\Column(name: 'ccExpMonth', type: 'integer', nullable: true)]
  65. private $ccexpmonth;
  66. /**
  67. * @var int|null
  68. */
  69. #[ORM\Column(name: 'ccExpYear', type: 'integer', nullable: true)]
  70. private $ccexpyear;
  71. /**
  72. * @var string|null
  73. */
  74. #[ORM\Column(name: 'ccName', type: 'string', length: 100, nullable: true)]
  75. private $ccname;
  76. /**
  77. * @var string|null
  78. */
  79. #[ORM\Column(name: 'billingAddress', type: 'string', length: 250, nullable: true)]
  80. private $billingaddress;
  81. /**
  82. * @var string|null
  83. */
  84. #[ORM\Column(name: 'billingCity', type: 'string', length: 80, nullable: true)]
  85. private $billingcity;
  86. /**
  87. * @var string|null
  88. */
  89. #[ORM\Column(name: 'billingState', type: 'string', length: 80, nullable: true)]
  90. private $billingstate;
  91. /**
  92. * @var string|null
  93. */
  94. #[ORM\Column(name: 'billingZip', type: 'string', length: 12, nullable: true)]
  95. private $billingzip;
  96. /**
  97. * @var string|null
  98. */
  99. #[ORM\Column(name: 'billingCountry', type: 'string', length: 80, nullable: true)]
  100. private $billingcountry;
  101. /**
  102. * @var string|null
  103. */
  104. #[ORM\Column(name: 'createdOn', type: 'string', length: 100, nullable: true)]
  105. private $createdon;
  106. /**
  107. * @var \DateTime|null
  108. */
  109. #[ORM\Column(name: 'lastChange', type: 'date', nullable: true)]
  110. private $lastchange;
  111. /**
  112. * @var string|null
  113. */
  114. #[ORM\Column(name: 'createdBy', type: 'string', length: 100, nullable: true)]
  115. private $createdby;
  116. /**
  117. * @var string|null
  118. */
  119. #[ORM\Column(name: 'lastChangeBy', type: 'string', length: 100, nullable: true)]
  120. private $lastchangeby;
  121. public function getId(): ?int
  122. {
  123. return $this->id;
  124. }
  125. public function getStudentid(): ?int
  126. {
  127. return $this->studentid;
  128. }
  129. public function setStudentid(?int $studentid): self
  130. {
  131. $this->studentid = $studentid;
  132. return $this;
  133. }
  134. public function getSchoolid(): ?int
  135. {
  136. return $this->schoolid;
  137. }
  138. public function setSchoolid(?int $schoolid): self
  139. {
  140. $this->schoolid = $schoolid;
  141. return $this;
  142. }
  143. public function getCcnum(): ?string
  144. {
  145. return $this->ccnum;
  146. }
  147. public function setCcnum(?string $ccnum): self
  148. {
  149. $this->ccnum = $ccnum;
  150. return $this;
  151. }
  152. public function getCccimid(): ?string
  153. {
  154. return $this->cccimid;
  155. }
  156. public function setCccimid(?string $cccimid): self
  157. {
  158. $this->cccimid = $cccimid;
  159. return $this;
  160. }
  161. public function getAuthneterror(): ?bool
  162. {
  163. return $this->authneterror;
  164. }
  165. public function setAuthneterror(?bool $authneterror): self
  166. {
  167. $this->authneterror = $authneterror;
  168. return $this;
  169. }
  170. public function getStatus(): ?string
  171. {
  172. return $this->status;
  173. }
  174. public function setStatus(?string $status): self
  175. {
  176. $this->status = $status;
  177. return $this;
  178. }
  179. public function getCctype(): ?int
  180. {
  181. return $this->cctype;
  182. }
  183. public function setCctype(?int $cctype): self
  184. {
  185. $this->cctype = $cctype;
  186. return $this;
  187. }
  188. public function getCc4digits(): ?string
  189. {
  190. return $this->cc4digits;
  191. }
  192. public function setCc4digits(?string $cc4digits): self
  193. {
  194. $this->cc4digits = $cc4digits;
  195. return $this;
  196. }
  197. public function getCcexpmonth(): ?int
  198. {
  199. return $this->ccexpmonth;
  200. }
  201. public function setCcexpmonth(?int $ccexpmonth): self
  202. {
  203. $this->ccexpmonth = $ccexpmonth;
  204. return $this;
  205. }
  206. public function getCcexpyear(): ?int
  207. {
  208. return $this->ccexpyear;
  209. }
  210. public function setCcexpyear(?int $ccexpyear): self
  211. {
  212. $this->ccexpyear = $ccexpyear;
  213. return $this;
  214. }
  215. public function getCcname(): ?string
  216. {
  217. return $this->ccname;
  218. }
  219. public function setCcname(?string $ccname): self
  220. {
  221. $this->ccname = $ccname;
  222. return $this;
  223. }
  224. public function getBillingaddress(): ?string
  225. {
  226. return $this->billingaddress;
  227. }
  228. public function setBillingaddress(?string $billingaddress): self
  229. {
  230. $this->billingaddress = $billingaddress;
  231. return $this;
  232. }
  233. public function getBillingcity(): ?string
  234. {
  235. return $this->billingcity;
  236. }
  237. public function setBillingcity(?string $billingcity): self
  238. {
  239. $this->billingcity = $billingcity;
  240. return $this;
  241. }
  242. public function getBillingstate(): ?string
  243. {
  244. return $this->billingstate;
  245. }
  246. public function setBillingstate(?string $billingstate): self
  247. {
  248. $this->billingstate = $billingstate;
  249. return $this;
  250. }
  251. public function getBillingzip(): ?string
  252. {
  253. return $this->billingzip;
  254. }
  255. public function setBillingzip(?string $billingzip): self
  256. {
  257. $this->billingzip = $billingzip;
  258. return $this;
  259. }
  260. public function getBillingcountry(): ?string
  261. {
  262. return $this->billingcountry;
  263. }
  264. public function setBillingcountry(?string $billingcountry): self
  265. {
  266. $this->billingcountry = $billingcountry;
  267. return $this;
  268. }
  269. public function getCreatedon(): ?string
  270. {
  271. return $this->createdon;
  272. }
  273. public function setCreatedon(?string $createdon): self
  274. {
  275. $this->createdon = $createdon;
  276. return $this;
  277. }
  278. public function getLastchange(): ?\DateTimeInterface
  279. {
  280. return $this->lastchange;
  281. }
  282. public function setLastchange(?\DateTimeInterface $lastchange): self
  283. {
  284. $this->lastchange = $lastchange;
  285. return $this;
  286. }
  287. public function getCreatedby(): ?string
  288. {
  289. return $this->createdby;
  290. }
  291. public function setCreatedby(?string $createdby): self
  292. {
  293. $this->createdby = $createdby;
  294. return $this;
  295. }
  296. public function getLastchangeby(): ?string
  297. {
  298. return $this->lastchangeby;
  299. }
  300. public function setLastchangeby(?string $lastchangeby): self
  301. {
  302. $this->lastchangeby = $lastchangeby;
  303. return $this;
  304. }
  305. }