src/Entity/Exams.php line 19

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * Exams
  6. */
  7. #[ORM\Table(name: 'exams')]
  8. #[ORM\Index(name: 'alt1', columns: ['alt1'])]
  9. #[ORM\Index(name: 'alt1_2', columns: ['alt1'])]
  10. #[ORM\Index(name: 'alt3', columns: ['alt3'])]
  11. #[ORM\Index(name: 'cd_required', columns: ['cd_required'])]
  12. #[ORM\Index(name: 'subject', columns: ['subject'])]
  13. #[ORM\Index(name: 'vendor_id', columns: ['vendor_id'])]
  14. #[ORM\UniqueConstraint(name: 'code', columns: ['code'])]
  15. #[ORM\Entity(repositoryClass: 'App\Repository\ExamsRepository')]
  16. class Exams
  17. {
  18. /**
  19. * @var int
  20. */
  21. #[ORM\Column(name: 'id', type: 'integer', nullable: false)]
  22. #[ORM\Id]
  23. #[ORM\GeneratedValue(strategy: 'IDENTITY')]
  24. private $id;
  25. /**
  26. * @var int|null
  27. */
  28. #[ORM\Column(name: 'vendor_id', type: 'integer', nullable: true)]
  29. private $vendorId;
  30. /**
  31. * @var bool|null
  32. */
  33. #[ORM\Column(name: 'active', type: 'boolean', nullable: true, options: ['default' => '1'])]
  34. private $active = true;
  35. /**
  36. * @var bool|null
  37. */
  38. #[ORM\Column(name: 'phonesystem_active', type: 'boolean', nullable: true)]
  39. private $phonesystemActive = '0';
  40. /**
  41. * @var string|null
  42. */
  43. #[ORM\Column(name: 'code', type: 'string', length: 20, nullable: true)]
  44. private $code;
  45. /**
  46. * @var string|null
  47. */
  48. #[ORM\Column(name: 'talCode', type: 'string', length: 255, nullable: true)]
  49. private $talcode;
  50. /**
  51. * @var string|null
  52. */
  53. #[ORM\Column(name: 'subject', type: 'string', length: 100, nullable: true)]
  54. private $subject;
  55. /**
  56. * @var string|null
  57. */
  58. #[ORM\Column(name: 'alt1', type: 'string', length: 255, nullable: true)]
  59. private $alt1;
  60. /**
  61. * @var string|null
  62. */
  63. #[ORM\Column(name: 'alt2', type: 'string', length: 255, nullable: true)]
  64. private $alt2;
  65. /**
  66. * @var string|null
  67. */
  68. #[ORM\Column(name: 'alt3', type: 'string', length: 255, nullable: true)]
  69. private $alt3;
  70. /**
  71. * @var int|null
  72. */
  73. #[ORM\Column(name: 'cd_required', type: 'integer', nullable: true)]
  74. private $cdRequired;
  75. /**
  76. * @var string|null
  77. */
  78. #[ORM\Column(name: 'examLevel', type: 'string', length: 100, nullable: true)]
  79. private $examlevel;
  80. /**
  81. * @var string|null
  82. */
  83. #[ORM\Column(name: 'secularNumber', type: 'string', length: 40, nullable: true)]
  84. private $secularnumber;
  85. /**
  86. * @var string|null
  87. */
  88. #[ORM\Column(name: 'secularTitle', type: 'string', length: 100, nullable: true)]
  89. private $seculartitle;
  90. /**
  91. * @var bool|null
  92. */
  93. #[ORM\Column(name: 'secular', type: 'boolean', nullable: true)]
  94. private $secular;
  95. /**
  96. * @var int|null
  97. */
  98. #[ORM\Column(name: 'duration', type: 'integer', nullable: true)]
  99. private $duration;
  100. /**
  101. * @var int|null
  102. */
  103. #[ORM\Column(name: 'credits', type: 'integer', nullable: true)]
  104. private $credits;
  105. /**
  106. * @var float|null
  107. */
  108. #[ORM\Column(name: 'talFee', type: 'float', precision: 10, scale: 0, nullable: true)]
  109. private $talfee;
  110. /**
  111. * @var float|null
  112. */
  113. #[ORM\Column(name: 'additionalCharge', type: 'float', precision: 10, scale: 0, nullable: true)]
  114. private $additionalcharge;
  115. /**
  116. * @var bool|null
  117. */
  118. #[ORM\Column(name: 'sortOrder', type: 'boolean', nullable: true)]
  119. private $sortorder = '0';
  120. /**
  121. * @var string|null
  122. */
  123. #[ORM\Column(name: 'talGroupCode', type: 'string', length: 20, nullable: true)]
  124. private $talgroupcode;
  125. /**
  126. * @var \DateTime|null
  127. */
  128. #[ORM\Column(name: 'createdOn', type: 'date', nullable: true)]
  129. private $createdon;
  130. /**
  131. * @var \DateTime|null
  132. */
  133. #[ORM\Column(name: 'lastChange', type: 'date', nullable: true)]
  134. private $lastchange;
  135. /**
  136. * @var string|null
  137. */
  138. #[ORM\Column(name: 'createdBy', type: 'string', length: 100, nullable: true)]
  139. private $createdby;
  140. /**
  141. * @var string|null
  142. */
  143. #[ORM\Column(name: 'lastChangeBy', type: 'string', length: 100, nullable: true)]
  144. private $lastchangeby;
  145. #[ORM\Column(type: 'string', length: 255, nullable: true)]
  146. private $contentCode;
  147. #[ORM\Column(type: 'string', length: 255, nullable: true)]
  148. private $groupCode;
  149. #[ORM\Column(type: 'boolean', nullable: true)]
  150. private $onlineOnly;
  151. #[ORM\Column(type: 'boolean', nullable: true)]
  152. private $paperOnly;
  153. #[ORM\Column(type: 'string', length: 255, nullable: true)]
  154. private $allowedResources;
  155. #[ORM\Column(type: 'boolean', nullable: true)]
  156. private $tti_allow;
  157. #[ORM\Column(type: 'boolean', nullable: true)]
  158. private $assignments;
  159. #[ORM\Column(type: 'boolean', nullable: true)]
  160. private $for_seminary_testing;
  161. #[ORM\Column(type: 'string', length: 255, nullable: true)]
  162. private $program_content_code;
  163. #[ORM\Column(type: 'string', length: 255, nullable: true)]
  164. private $program_started_content_code;
  165. #[ORM\Column(type: 'string', length: 255, nullable: true)]
  166. private $program_completed_content_code;
  167. #[ORM\Column(type: 'boolean', nullable: true)]
  168. private $alternateCourseVersion;
  169. public function getId(): ?int
  170. {
  171. return $this->id;
  172. }
  173. public function getVendorId(): ?int
  174. {
  175. return $this->vendorId;
  176. }
  177. public function setVendorId(?int $vendorId): self
  178. {
  179. $this->vendorId = $vendorId;
  180. return $this;
  181. }
  182. public function getActive(): ?bool
  183. {
  184. return $this->active;
  185. }
  186. public function setActive(?bool $active): self
  187. {
  188. $this->active = $active;
  189. return $this;
  190. }
  191. public function getPhonesystemActive(): ?bool
  192. {
  193. return $this->phonesystemActive;
  194. }
  195. public function setPhonesystemActive(?bool $phonesystemActive): self
  196. {
  197. $this->phonesystemActive = $phonesystemActive;
  198. return $this;
  199. }
  200. public function getCode(): ?string
  201. {
  202. return $this->code;
  203. }
  204. public function setCode(?string $code): self
  205. {
  206. $this->code = $code;
  207. return $this;
  208. }
  209. public function getTalcode(): ?string
  210. {
  211. return $this->talcode;
  212. }
  213. public function setTalcode(?string $talcode): self
  214. {
  215. $this->talcode = $talcode;
  216. return $this;
  217. }
  218. public function getSubject(): ?string
  219. {
  220. return $this->subject;
  221. }
  222. public function setSubject(?string $subject): self
  223. {
  224. $this->subject = $subject;
  225. return $this;
  226. }
  227. public function getAlt1(): ?string
  228. {
  229. return $this->alt1;
  230. }
  231. public function setAlt1(?string $alt1): self
  232. {
  233. $this->alt1 = $alt1;
  234. return $this;
  235. }
  236. public function getAlt2(): ?string
  237. {
  238. return $this->alt2;
  239. }
  240. public function setAlt2(?string $alt2): self
  241. {
  242. $this->alt2 = $alt2;
  243. return $this;
  244. }
  245. public function getAlt3(): ?string
  246. {
  247. return $this->alt3;
  248. }
  249. public function setAlt3(?string $alt3): self
  250. {
  251. $this->alt3 = $alt3;
  252. return $this;
  253. }
  254. public function getCdRequired(): ?int
  255. {
  256. return $this->cdRequired;
  257. }
  258. public function setCdRequired(?int $cdRequired): self
  259. {
  260. $this->cdRequired = $cdRequired;
  261. return $this;
  262. }
  263. public function getExamlevel(): ?string
  264. {
  265. return $this->examlevel;
  266. }
  267. public function setExamlevel(?string $examlevel): self
  268. {
  269. $this->examlevel = $examlevel;
  270. return $this;
  271. }
  272. public function getSecularnumber(): ?string
  273. {
  274. return $this->secularnumber;
  275. }
  276. public function setSecularnumber(?string $secularnumber): self
  277. {
  278. $this->secularnumber = $secularnumber;
  279. return $this;
  280. }
  281. public function getSeculartitle(): ?string
  282. {
  283. return $this->seculartitle;
  284. }
  285. public function setSeculartitle(?string $seculartitle): self
  286. {
  287. $this->seculartitle = $seculartitle;
  288. return $this;
  289. }
  290. public function getSecular(): ?bool
  291. {
  292. return $this->secular;
  293. }
  294. public function setSecular(?bool $secular): self
  295. {
  296. $this->secular = $secular;
  297. return $this;
  298. }
  299. public function getDuration(): ?int
  300. {
  301. return $this->duration;
  302. }
  303. public function setDuration(?int $duration): self
  304. {
  305. $this->duration = $duration;
  306. return $this;
  307. }
  308. public function getCredits(): ?int
  309. {
  310. return $this->credits;
  311. }
  312. public function setCredits(?int $credits): self
  313. {
  314. $this->credits = $credits;
  315. return $this;
  316. }
  317. public function getTalfee(): ?float
  318. {
  319. return $this->talfee;
  320. }
  321. public function setTalfee(?float $talfee): self
  322. {
  323. $this->talfee = $talfee;
  324. return $this;
  325. }
  326. public function getAdditionalcharge(): ?float
  327. {
  328. return $this->additionalcharge;
  329. }
  330. public function setAdditionalcharge(?float $additionalcharge): self
  331. {
  332. $this->additionalcharge = $additionalcharge;
  333. return $this;
  334. }
  335. public function getSortorder(): ?bool
  336. {
  337. return $this->sortorder;
  338. }
  339. public function setSortorder(?bool $sortorder): self
  340. {
  341. $this->sortorder = $sortorder;
  342. return $this;
  343. }
  344. public function getTalgroupcode(): ?string
  345. {
  346. return $this->talgroupcode;
  347. }
  348. public function setTalgroupcode(?string $talgroupcode): self
  349. {
  350. $this->talgroupcode = $talgroupcode;
  351. return $this;
  352. }
  353. public function getCreatedon(): ?\DateTimeInterface
  354. {
  355. return $this->createdon;
  356. }
  357. public function setCreatedon(?\DateTimeInterface $createdon): self
  358. {
  359. $this->createdon = $createdon;
  360. return $this;
  361. }
  362. public function getLastchange(): ?\DateTimeInterface
  363. {
  364. return $this->lastchange;
  365. }
  366. public function setLastchange(?\DateTimeInterface $lastchange): self
  367. {
  368. $this->lastchange = $lastchange;
  369. return $this;
  370. }
  371. public function getCreatedby(): ?string
  372. {
  373. return $this->createdby;
  374. }
  375. public function setCreatedby(?string $createdby): self
  376. {
  377. $this->createdby = $createdby;
  378. return $this;
  379. }
  380. public function getLastchangeby(): ?string
  381. {
  382. return $this->lastchangeby;
  383. }
  384. public function setLastchangeby(?string $lastchangeby): self
  385. {
  386. $this->lastchangeby = $lastchangeby;
  387. return $this;
  388. }
  389. public function getContentCode(): ?string
  390. {
  391. return $this->contentCode;
  392. }
  393. public function setContentCode(?string $contentCode): self
  394. {
  395. $this->contentCode = $contentCode;
  396. return $this;
  397. }
  398. public function getGroupCode(): ?string
  399. {
  400. return $this->groupCode;
  401. }
  402. public function setGroupCode(?string $groupCode): self
  403. {
  404. $this->groupCode = $groupCode;
  405. return $this;
  406. }
  407. public function getOnlineOnly(): ?bool
  408. {
  409. return $this->onlineOnly;
  410. }
  411. public function setOnlineOnly(?bool $onlineOnly): self
  412. {
  413. $this->onlineOnly = $onlineOnly;
  414. return $this;
  415. }
  416. public function getPaperOnly(): ?bool
  417. {
  418. return $this->paperOnly;
  419. }
  420. public function setPaperOnly(?bool $paperOnly): self
  421. {
  422. $this->paperOnly = $paperOnly;
  423. return $this;
  424. }
  425. public function getAllowedResources(): ?string
  426. {
  427. return $this->allowedResources;
  428. }
  429. public function setAllowedResources(?string $allowedResources): self
  430. {
  431. $this->allowedResources = $allowedResources;
  432. return $this;
  433. }
  434. public function getTtiAllow(): ?bool
  435. {
  436. return $this->tti_allow;
  437. }
  438. public function setTtiAllow(?bool $tti_allow): self
  439. {
  440. $this->tti_allow = $tti_allow;
  441. return $this;
  442. }
  443. public function getAssignments(): ?bool
  444. {
  445. return $this->assignments;
  446. }
  447. public function setAssignments(?bool $assignments): self
  448. {
  449. $this->assignments = $assignments;
  450. return $this;
  451. }
  452. public function getForSeminaryTesting(): ?bool
  453. {
  454. return $this->for_seminary_testing;
  455. }
  456. public function setForSeminaryTesting(?bool $for_seminary_testing): self
  457. {
  458. $this->for_seminary_testing = $for_seminary_testing;
  459. return $this;
  460. }
  461. public function getProgramContentCode(): ?string
  462. {
  463. return $this->program_content_code;
  464. }
  465. public function setProgramContentCode(?string $program_content_code): self
  466. {
  467. $this->program_content_code = $program_content_code;
  468. return $this;
  469. }
  470. public function getProgramStartedContentCode(): ?string
  471. {
  472. return $this->program_started_content_code;
  473. }
  474. public function setProgramStartedContentCode(?string $program_started_content_code): self
  475. {
  476. $this->program_started_content_code = $program_started_content_code;
  477. return $this;
  478. }
  479. public function getProgramEndedContentCode(): ?string
  480. {
  481. return $this->program_completed_content_code;
  482. }
  483. public function setProgramEndedContentCode(?string $program_completed_content_code): self
  484. {
  485. $this->program_completed_content_code = $program_completed_content_code;
  486. return $this;
  487. }
  488. public function getAlternateCourseVersion(): ?bool
  489. {
  490. return $this->alternateCourseVersion;
  491. }
  492. public function setAlternateCourseVersion(?bool $alternateCourseVersion): self
  493. {
  494. $this->alternateCourseVersion = $alternateCourseVersion;
  495. return $this;
  496. }
  497. }