<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Exams
*/
#[ORM\Table(name: 'exams')]
#[ORM\Index(name: 'alt1', columns: ['alt1'])]
#[ORM\Index(name: 'alt1_2', columns: ['alt1'])]
#[ORM\Index(name: 'alt3', columns: ['alt3'])]
#[ORM\Index(name: 'cd_required', columns: ['cd_required'])]
#[ORM\Index(name: 'subject', columns: ['subject'])]
#[ORM\Index(name: 'vendor_id', columns: ['vendor_id'])]
#[ORM\UniqueConstraint(name: 'code', columns: ['code'])]
#[ORM\Entity(repositoryClass: 'App\Repository\ExamsRepository')]
class Exams
{
/**
* @var int
*/
#[ORM\Column(name: 'id', type: 'integer', nullable: false)]
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
private $id;
/**
* @var int|null
*/
#[ORM\Column(name: 'vendor_id', type: 'integer', nullable: true)]
private $vendorId;
/**
* @var bool|null
*/
#[ORM\Column(name: 'active', type: 'boolean', nullable: true, options: ['default' => '1'])]
private $active = true;
/**
* @var bool|null
*/
#[ORM\Column(name: 'phonesystem_active', type: 'boolean', nullable: true)]
private $phonesystemActive = '0';
/**
* @var string|null
*/
#[ORM\Column(name: 'code', type: 'string', length: 20, nullable: true)]
private $code;
/**
* @var string|null
*/
#[ORM\Column(name: 'talCode', type: 'string', length: 255, nullable: true)]
private $talcode;
/**
* @var string|null
*/
#[ORM\Column(name: 'subject', type: 'string', length: 100, nullable: true)]
private $subject;
/**
* @var string|null
*/
#[ORM\Column(name: 'alt1', type: 'string', length: 255, nullable: true)]
private $alt1;
/**
* @var string|null
*/
#[ORM\Column(name: 'alt2', type: 'string', length: 255, nullable: true)]
private $alt2;
/**
* @var string|null
*/
#[ORM\Column(name: 'alt3', type: 'string', length: 255, nullable: true)]
private $alt3;
/**
* @var int|null
*/
#[ORM\Column(name: 'cd_required', type: 'integer', nullable: true)]
private $cdRequired;
/**
* @var string|null
*/
#[ORM\Column(name: 'examLevel', type: 'string', length: 100, nullable: true)]
private $examlevel;
/**
* @var string|null
*/
#[ORM\Column(name: 'secularNumber', type: 'string', length: 40, nullable: true)]
private $secularnumber;
/**
* @var string|null
*/
#[ORM\Column(name: 'secularTitle', type: 'string', length: 100, nullable: true)]
private $seculartitle;
/**
* @var bool|null
*/
#[ORM\Column(name: 'secular', type: 'boolean', nullable: true)]
private $secular;
/**
* @var int|null
*/
#[ORM\Column(name: 'duration', type: 'integer', nullable: true)]
private $duration;
/**
* @var int|null
*/
#[ORM\Column(name: 'credits', type: 'integer', nullable: true)]
private $credits;
/**
* @var float|null
*/
#[ORM\Column(name: 'talFee', type: 'float', precision: 10, scale: 0, nullable: true)]
private $talfee;
/**
* @var float|null
*/
#[ORM\Column(name: 'additionalCharge', type: 'float', precision: 10, scale: 0, nullable: true)]
private $additionalcharge;
/**
* @var bool|null
*/
#[ORM\Column(name: 'sortOrder', type: 'boolean', nullable: true)]
private $sortorder = '0';
/**
* @var string|null
*/
#[ORM\Column(name: 'talGroupCode', type: 'string', length: 20, nullable: true)]
private $talgroupcode;
/**
* @var \DateTime|null
*/
#[ORM\Column(name: 'createdOn', type: 'date', nullable: true)]
private $createdon;
/**
* @var \DateTime|null
*/
#[ORM\Column(name: 'lastChange', type: 'date', nullable: true)]
private $lastchange;
/**
* @var string|null
*/
#[ORM\Column(name: 'createdBy', type: 'string', length: 100, nullable: true)]
private $createdby;
/**
* @var string|null
*/
#[ORM\Column(name: 'lastChangeBy', type: 'string', length: 100, nullable: true)]
private $lastchangeby;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $contentCode;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $groupCode;
#[ORM\Column(type: 'boolean', nullable: true)]
private $onlineOnly;
#[ORM\Column(type: 'boolean', nullable: true)]
private $paperOnly;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $allowedResources;
#[ORM\Column(type: 'boolean', nullable: true)]
private $tti_allow;
#[ORM\Column(type: 'boolean', nullable: true)]
private $assignments;
#[ORM\Column(type: 'boolean', nullable: true)]
private $for_seminary_testing;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $program_content_code;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $program_started_content_code;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $program_completed_content_code;
#[ORM\Column(type: 'boolean', nullable: true)]
private $alternateCourseVersion;
public function getId(): ?int
{
return $this->id;
}
public function getVendorId(): ?int
{
return $this->vendorId;
}
public function setVendorId(?int $vendorId): self
{
$this->vendorId = $vendorId;
return $this;
}
public function getActive(): ?bool
{
return $this->active;
}
public function setActive(?bool $active): self
{
$this->active = $active;
return $this;
}
public function getPhonesystemActive(): ?bool
{
return $this->phonesystemActive;
}
public function setPhonesystemActive(?bool $phonesystemActive): self
{
$this->phonesystemActive = $phonesystemActive;
return $this;
}
public function getCode(): ?string
{
return $this->code;
}
public function setCode(?string $code): self
{
$this->code = $code;
return $this;
}
public function getTalcode(): ?string
{
return $this->talcode;
}
public function setTalcode(?string $talcode): self
{
$this->talcode = $talcode;
return $this;
}
public function getSubject(): ?string
{
return $this->subject;
}
public function setSubject(?string $subject): self
{
$this->subject = $subject;
return $this;
}
public function getAlt1(): ?string
{
return $this->alt1;
}
public function setAlt1(?string $alt1): self
{
$this->alt1 = $alt1;
return $this;
}
public function getAlt2(): ?string
{
return $this->alt2;
}
public function setAlt2(?string $alt2): self
{
$this->alt2 = $alt2;
return $this;
}
public function getAlt3(): ?string
{
return $this->alt3;
}
public function setAlt3(?string $alt3): self
{
$this->alt3 = $alt3;
return $this;
}
public function getCdRequired(): ?int
{
return $this->cdRequired;
}
public function setCdRequired(?int $cdRequired): self
{
$this->cdRequired = $cdRequired;
return $this;
}
public function getExamlevel(): ?string
{
return $this->examlevel;
}
public function setExamlevel(?string $examlevel): self
{
$this->examlevel = $examlevel;
return $this;
}
public function getSecularnumber(): ?string
{
return $this->secularnumber;
}
public function setSecularnumber(?string $secularnumber): self
{
$this->secularnumber = $secularnumber;
return $this;
}
public function getSeculartitle(): ?string
{
return $this->seculartitle;
}
public function setSeculartitle(?string $seculartitle): self
{
$this->seculartitle = $seculartitle;
return $this;
}
public function getSecular(): ?bool
{
return $this->secular;
}
public function setSecular(?bool $secular): self
{
$this->secular = $secular;
return $this;
}
public function getDuration(): ?int
{
return $this->duration;
}
public function setDuration(?int $duration): self
{
$this->duration = $duration;
return $this;
}
public function getCredits(): ?int
{
return $this->credits;
}
public function setCredits(?int $credits): self
{
$this->credits = $credits;
return $this;
}
public function getTalfee(): ?float
{
return $this->talfee;
}
public function setTalfee(?float $talfee): self
{
$this->talfee = $talfee;
return $this;
}
public function getAdditionalcharge(): ?float
{
return $this->additionalcharge;
}
public function setAdditionalcharge(?float $additionalcharge): self
{
$this->additionalcharge = $additionalcharge;
return $this;
}
public function getSortorder(): ?bool
{
return $this->sortorder;
}
public function setSortorder(?bool $sortorder): self
{
$this->sortorder = $sortorder;
return $this;
}
public function getTalgroupcode(): ?string
{
return $this->talgroupcode;
}
public function setTalgroupcode(?string $talgroupcode): self
{
$this->talgroupcode = $talgroupcode;
return $this;
}
public function getCreatedon(): ?\DateTimeInterface
{
return $this->createdon;
}
public function setCreatedon(?\DateTimeInterface $createdon): self
{
$this->createdon = $createdon;
return $this;
}
public function getLastchange(): ?\DateTimeInterface
{
return $this->lastchange;
}
public function setLastchange(?\DateTimeInterface $lastchange): self
{
$this->lastchange = $lastchange;
return $this;
}
public function getCreatedby(): ?string
{
return $this->createdby;
}
public function setCreatedby(?string $createdby): self
{
$this->createdby = $createdby;
return $this;
}
public function getLastchangeby(): ?string
{
return $this->lastchangeby;
}
public function setLastchangeby(?string $lastchangeby): self
{
$this->lastchangeby = $lastchangeby;
return $this;
}
public function getContentCode(): ?string
{
return $this->contentCode;
}
public function setContentCode(?string $contentCode): self
{
$this->contentCode = $contentCode;
return $this;
}
public function getGroupCode(): ?string
{
return $this->groupCode;
}
public function setGroupCode(?string $groupCode): self
{
$this->groupCode = $groupCode;
return $this;
}
public function getOnlineOnly(): ?bool
{
return $this->onlineOnly;
}
public function setOnlineOnly(?bool $onlineOnly): self
{
$this->onlineOnly = $onlineOnly;
return $this;
}
public function getPaperOnly(): ?bool
{
return $this->paperOnly;
}
public function setPaperOnly(?bool $paperOnly): self
{
$this->paperOnly = $paperOnly;
return $this;
}
public function getAllowedResources(): ?string
{
return $this->allowedResources;
}
public function setAllowedResources(?string $allowedResources): self
{
$this->allowedResources = $allowedResources;
return $this;
}
public function getTtiAllow(): ?bool
{
return $this->tti_allow;
}
public function setTtiAllow(?bool $tti_allow): self
{
$this->tti_allow = $tti_allow;
return $this;
}
public function getAssignments(): ?bool
{
return $this->assignments;
}
public function setAssignments(?bool $assignments): self
{
$this->assignments = $assignments;
return $this;
}
public function getForSeminaryTesting(): ?bool
{
return $this->for_seminary_testing;
}
public function setForSeminaryTesting(?bool $for_seminary_testing): self
{
$this->for_seminary_testing = $for_seminary_testing;
return $this;
}
public function getProgramContentCode(): ?string
{
return $this->program_content_code;
}
public function setProgramContentCode(?string $program_content_code): self
{
$this->program_content_code = $program_content_code;
return $this;
}
public function getProgramStartedContentCode(): ?string
{
return $this->program_started_content_code;
}
public function setProgramStartedContentCode(?string $program_started_content_code): self
{
$this->program_started_content_code = $program_started_content_code;
return $this;
}
public function getProgramEndedContentCode(): ?string
{
return $this->program_completed_content_code;
}
public function setProgramEndedContentCode(?string $program_completed_content_code): self
{
$this->program_completed_content_code = $program_completed_content_code;
return $this;
}
public function getAlternateCourseVersion(): ?bool
{
return $this->alternateCourseVersion;
}
public function setAlternateCourseVersion(?bool $alternateCourseVersion): self
{
$this->alternateCourseVersion = $alternateCourseVersion;
return $this;
}
}