<?php
namespace App\Entity;
use App\Entity\ObjectValue\Laboratory;
use App\Entity\ObjectValue\Store;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\HttpFoundation\File\File;
use Vich\UploaderBundle\Mapping\Annotation as Vich;
/**
* @ORM\Entity
* @Vich\Uploadable
*/
class ContactInformation
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*
* @var int
*/
protected $id;
/**
* @ORM\Column(type="datetime", nullable=true)
*
* @var \DateTime
*/
protected $updatedAt;
/**
* @ORM\Column(type="string", nullable=true)
*
* @var string
*/
protected $cscLogo;
/**
* @Vich\UploadableField(mapping="contact_information", fileNameProperty="cscLogo")
*
* @var File
*/
protected $cscLogoFile;
/**
* @ORM\Column(type="string", nullable=true)
*
* @var string
*/
protected $cscAddress;
/**
* @ORM\Column(type="string", nullable=true)
*
* @var string
*/
protected $cscPhone;
/**
* @ORM\Column(type="string", nullable=true)
*
* @var string
*/
protected $cscPhoneDescription;
/**
* @ORM\Column(type="string", nullable=true)
*
* @var string
*/
protected $cscAttendance;
/**
* @Vich\UploadableField(mapping="contact_information", fileNameProperty="cscAttendance")
*
* @var File
*/
protected $cscAttendanceFile;
/**
* @ORM\Column(type="string", nullable=true)
*
* @var string
*/
protected $cscHours;
/**
* @ORM\Column(type="string", nullable=true)
*
* @var string
*/
protected $cscEmail;
/**
* @ORM\Column(type="string", nullable=true)
*
* @var string
*/
protected $potabilizationPhone;
/**
* @ORM\Column(type="string", nullable=true)
*
* @var string
*/
protected $potabilizationPhoneDescription;
/**
* @ORM\Column(type="string", nullable=true)
*
* @var string
*/
protected $potabilizationHours;
/**
* @ORM\Column(type="string", nullable=true)
*
* @var string
*/
protected $potabilizationEmail;
/**
* @ORM\Embedded(class="App\Entity\ObjectValue\Store")
*
* @var Store
*/
protected $store1;
/**
* @ORM\Embedded(class="App\Entity\ObjectValue\Store")
*
* @var Store
*/
protected $store2;
/**
* @ORM\Embedded(class="App\Entity\ObjectValue\Store")
*
* @var Store
*/
protected $store3;
/**
* @ORM\Column(type="string", nullable=true)
*
* @var string
*/
protected $catalog1Label;
/**
* @ORM\Column(type="string", nullable=true)
*
* @var string
*/
protected $catalog1Url;
/**
* @ORM\Column(type="string", nullable=true)
*
* @var string
*/
protected $catalog2Label;
/**
* @ORM\Column(type="string", nullable=true)
*
* @var string
*/
protected $catalog2Url;
/**
* @ORM\Column(type="string", nullable=true)
*
* @var string
*/
protected $catalog3Label;
/**
* @ORM\Column(type="string", nullable=true)
*
* @var string
*/
protected $catalog3Url;
/**
* @ORM\Embedded(class="App\Entity\ObjectValue\Laboratory")
*
* @var Laboratory
*/
protected $waterLaboratory;
/**
* @ORM\Embedded(class="App\Entity\ObjectValue\Laboratory")
*
* @var Laboratory
*/
protected $hydraulicLaboratory;
/**
* @ORM\Embedded(class="App\Entity\ObjectValue\Laboratory")
*
* @var Laboratory
*/
protected $geotechLaboratory;
public function getId(): int
{
return $this->id;
}
/**
* @return ContactInformation
*/
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getCscPhoneDescription(): ?string
{
return $this->cscPhoneDescription;
}
/**
* @return ContactInformation
*/
public function setCscPhoneDescription(?string $cscPhoneDescription): self
{
$this->cscPhoneDescription = $cscPhoneDescription;
return $this;
}
public function getCscLogo(): ?string
{
return $this->cscLogo;
}
/**
* @return ContactInformation
*/
public function setCscLogo(?string $cscLogo): self
{
$this->cscLogo = $cscLogo;
return $this;
}
public function getCscLogoFile(): ?File
{
return $this->cscLogoFile;
}
/**
* @throws \Exception
*
* @return ContactInformation
*/
public function setCscLogoFile(?File $cscLogoFile): self
{
$this->cscLogoFile = $cscLogoFile;
if ($cscLogoFile) {
$this->updatedAt = new \DateTime('now');
}
return $this;
}
public function getCscAddress(): ?string
{
return $this->cscAddress;
}
/**
* @return ContactInformation
*/
public function setCscAddress(?string $cscAddress): self
{
$this->cscAddress = $cscAddress;
return $this;
}
public function getCscPhone(): ?string
{
return $this->cscPhone;
}
/**
* @return ContactInformation
*/
public function setCscPhone(?string $cscPhone): self
{
$this->cscPhone = $cscPhone;
return $this;
}
public function getCscAttendance(): ?string
{
return $this->cscAttendance;
}
/**
* @return ContactInformation
*/
public function setCscAttendance(?string $cscAttendance): self
{
$this->cscAttendance = $cscAttendance;
return $this;
}
public function getCscAttendanceFile(): ?File
{
return $this->cscAttendanceFile;
}
/**
* @throws \Exception
*
* @return ContactInformation
*/
public function setCscAttendanceFile(?File $cscAttendanceFile): self
{
$this->cscAttendanceFile = $cscAttendanceFile;
if ($cscAttendanceFile) {
$this->updatedAt = new \DateTime('now');
}
return $this;
}
public function getCscHours(): ?string
{
return $this->cscHours;
}
/**
* @return ContactInformation
*/
public function setCscHours(?string $cscHours): self
{
$this->cscHours = $cscHours;
return $this;
}
public function getCscEmail(): ?string
{
return $this->cscEmail;
}
/**
* @return ContactInformation
*/
public function setCscEmail(?string $cscEmail): self
{
$this->cscEmail = $cscEmail;
return $this;
}
public function getPotabilizationPhone(): ?string
{
return $this->potabilizationPhone;
}
/**
* @return ContactInformation
*/
public function setPotabilizationPhone(?string $potabilizationPhone): self
{
$this->potabilizationPhone = $potabilizationPhone;
return $this;
}
public function getPotabilizationPhoneDescription(): ?string
{
return $this->potabilizationPhoneDescription;
}
/**
* @return ContactInformation
*/
public function setPotabilizationPhoneDescription(?string $potabilizationPhoneDescription): self
{
$this->potabilizationPhoneDescription = $potabilizationPhoneDescription;
return $this;
}
public function getPotabilizationHours(): ?string
{
return $this->potabilizationHours;
}
/**
* @return ContactInformation
*/
public function setPotabilizationHours(?string $potabilizationHours): self
{
$this->potabilizationHours = $potabilizationHours;
return $this;
}
public function getPotabilizationEmail(): ?string
{
return $this->potabilizationEmail;
}
/**
* @return ContactInformation
*/
public function setPotabilizationEmail(?string $potabilizationEmail): self
{
$this->potabilizationEmail = $potabilizationEmail;
return $this;
}
/**
* @return Store
*/
public function getStore1(): ?Store
{
return $this->store1;
}
/**
* @return ContactInformation
*/
public function setStore1(Store $store1): self
{
$this->store1 = $store1;
return $this;
}
/**
* @return Store
*/
public function getStore2(): ?Store
{
return $this->store2;
}
/**
* @return ContactInformation
*/
public function setStore2(Store $store2): self
{
$this->store2 = $store2;
return $this;
}
/**
* @return Store
*/
public function getStore3(): ?Store
{
return $this->store3;
}
/**
* @return ContactInformation
*/
public function setStore3(Store $store3): self
{
$this->store3 = $store3;
return $this;
}
public function getCatalog1Label(): ?string
{
return $this->catalog1Label;
}
public function setCatalog1Label(?string $catalog1Label): ContactInformation
{
$this->catalog1Label = $catalog1Label;
return $this;
}
public function getCatalog1Url(): ?string
{
return $this->catalog1Url;
}
/**
* @return ContactInformation
*/
public function setCatalog1Url(?string $catalog1Url): self
{
$this->catalog1Url = $catalog1Url;
return $this;
}
public function getCatalog2Label(): ?string
{
return $this->catalog2Label;
}
/**
* @return ContactInformation
*/
public function setCatalog2Label(?string $catalog2Label): self
{
$this->catalog2Label = $catalog2Label;
return $this;
}
public function getCatalog2Url(): ?string
{
return $this->catalog2Url;
}
/**
* @return ContactInformation
*/
public function setCatalog2Url(?string $catalog2Url): self
{
$this->catalog2Url = $catalog2Url;
return $this;
}
public function getCatalog3Label(): ?string
{
return $this->catalog3Label;
}
/**
* @return ContactInformation
*/
public function setCatalog3Label(?string $catalog3Label): self
{
$this->catalog3Label = $catalog3Label;
return $this;
}
public function getCatalog3Url(): ?string
{
return $this->catalog3Url;
}
/**
* @return ContactInformation
*/
public function setCatalog3Url(?string $catalog3Url): self
{
$this->catalog3Url = $catalog3Url;
return $this;
}
public function getWaterLaboratory(): Laboratory
{
return $this->waterLaboratory;
}
/**
* @return ContactInformation
*/
public function setWaterLaboratory(Laboratory $waterLaboratory): self
{
$this->waterLaboratory = $waterLaboratory;
return $this;
}
public function getHydraulicLaboratory(): Laboratory
{
return $this->hydraulicLaboratory;
}
/**
* @return ContactInformation
*/
public function setHydraulicLaboratory(Laboratory $hydraulicLaboratory): self
{
$this->hydraulicLaboratory = $hydraulicLaboratory;
return $this;
}
public function getGeotechLaboratory(): Laboratory
{
return $this->geotechLaboratory;
}
/**
* @return ContactInformation
*/
public function setGeotechLaboratory(Laboratory $geotechLaboratory): self
{
$this->geotechLaboratory = $geotechLaboratory;
return $this;
}
}