src/Entity/School.php line 12
<?phpdeclare(strict_types=1);namespace App\Entity;use App\Repository\SchoolRepository;use App\Utils\Traits\EntityId_TimestampTrait;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: SchoolRepository::class)]class School{use EntityId_TimestampTrait;#[ORM\Column(length: 255, unique: true)]private ?string $name = null;#[ORM\Column(length: 20)]private ?string $fileCode = null;#[ORM\Column(length: 10, nullable: true, unique: true)]private ?string $acronyme = null;#[ORM\Column(length: 255)]private ?string $email = null;#[ORM\Column(length: 100)]private ?string $telephone = null;#[ORM\Column(length: 100, nullable: true)]private ?string $telephone2 = null;#[ORM\Column(length: 100, nullable: true)]private ?string $telephone3 = null;#[ORM\Column(length: 255, nullable: true)]private ?string $address = null;#[ORM\ManyToOne]#[ORM\JoinColumn(nullable: true)]private ?Countries $currency = null;#[ORM\Column(length: 255, nullable: true)]private ?string $website = null;#[ORM\ManyToOne]#[ORM\JoinColumn(nullable: false)]private ?Countries $location = null;#[ORM\ManyToOne]#[ORM\JoinColumn(nullable: true)]private ?TypeOfTypes $instituteType = null;#[ORM\Column(length: 255, nullable: true)]private ?string $accreditationInfo = null;#[ORM\Column(length: 255)]private ?string $repName = null;#[ORM\Column(length: 255, nullable: true)]private ?string $repTelphone = null;#[ORM\Column(length: 255, nullable: true)]private ?string $repEmail = null;#[ORM\Column(length: 255)]private ?string $repFrName = null;#[ORM\Column(length: 255, nullable: true)]private ?string $repFrTelphone = null;#[ORM\Column(length: 255, nullable: true)]private ?string $repFrEmail = null;public function __toString(){return $this->acronyme;}public function getName(): ?string{return $this->name;}public function setName(string $name): self{$this->name = $name;return $this;}public function getFileCode(): ?string{return $this->fileCode;}public function setFileCode(string $fileCode): self{$this->fileCode = $fileCode;return $this;}public function getAcronyme(): ?string{return $this->acronyme;}public function setAcronyme(?string $acronyme): self{$this->acronyme = $acronyme;return $this;}public function getEmail(): ?string{return $this->email;}public function setEmail(string $email): self{$this->email = $email;return $this;}public function getTelephone(): ?string{return $this->telephone;}public function setTelephone(string $telephone): self{$this->telephone = $telephone;return $this;}public function getTelephone2(): ?string{return $this->telephone2;}public function setTelephone2(?string $telephone2): self{$this->telephone2 = $telephone2;return $this;}public function getTelephone3(): ?string{return $this->telephone3;}public function setTelephone3(?string $telephone3): self{$this->telephone3 = $telephone3;return $this;}public function getAddress(): ?string{return $this->address;}public function setAddress(?string $address): self{$this->address = $address;return $this;}public function getWebsite(): ?string{return $this->website;}public function setWebsite(?string $website): self{$this->website = $website;return $this;}public function getAccreditationInfo(): ?string{return $this->accreditationInfo;}public function setAccreditationInfo(?string $accreditationInfo): self{$this->accreditationInfo = $accreditationInfo;return $this;}public function getCurrency(): ?Countries{return $this->currency;}public function setCurrency(?Countries $currency): self{$this->currency = $currency;return $this;}public function getLocation(): ?Countries{return $this->location;}public function setLocation(?Countries $location): self{$this->location = $location;return $this;}public function getInstituteType(): ?TypeOfTypes{return $this->instituteType;}public function setInstituteType(?TypeOfTypes $instituteType): self{$this->instituteType = $instituteType;return $this;}public function getRepName(): ?string{return $this->repName;}public function setRepName(string $repName): self{$this->repName = $repName;return $this;}public function getRepTelphone(): ?string{return $this->repTelphone;}public function setRepTelphone(?string $repTelphone): self{$this->repTelphone = $repTelphone;return $this;}public function getRepEmail(): ?string{return $this->repEmail;}public function setRepEmail(?string $repEmail): self{$this->repEmail = $repEmail;return $this;}public function getRepFrName(): ?string{return $this->repFrName;}public function setRepFrName(string $repFrName): static{$this->repFrName = $repFrName;return $this;}public function getRepFrTelphone(): ?string{return $this->repFrTelphone;}public function setRepFrTelphone(?string $repFrTelphone): static{$this->repFrTelphone = $repFrTelphone;return $this;}public function getRepFrEmail(): ?string{return $this->repFrEmail;}public function setRepFrEmail(?string $repFrEmail): static{$this->repFrEmail = $repFrEmail;return $this;}}