<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
/**
* @ORM\Entity(repositoryClass="App\Repository\CompanyRepository")
*/
class Company
{
/**
* @ORM\Id()
* @ORM\GeneratedValue()
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $name;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $logo;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $footerLogo;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $address;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $region;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $tva;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $mail;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $website;
/**
* @ORM\Column(type="string", length=20, nullable=true)
*/
private $phone;
/**
* @ORM\Column(type="string", length=20, nullable=true)
*/
private $mobile;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $title; // SEO title
/**
* @ORM\Column(type="text", nullable=true)
*/
private $description; // SEO description
/**
* @ORM\Column(type="text", nullable=true)
*/
private $keywords; // SEO keywords
/**
* @ORM\Column(type="json", nullable=true)
*/
private $socialLinks;
/**
* @ORM\Column(type="datetime")
* @Gedmo\Timestampable(on="update")
*/
private $updated_at;
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setLogo(string $logo): self
{
$this->logo = $logo;
return $this;
}
public function getLogo(): ?string
{
return $this->logo;
}
public function setFooterLogo(string $footerLogo): self
{
$this->footerLogo = $footerLogo;
return $this;
}
public function getFooterLogo(): ?string
{
return $this->footerLogo;
}
public function setAddress(string $address): self
{
$this->address = $address;
return $this;
}
public function getAddress(): ?string
{
return $this->address;
}
public function setRegion(string $region): self
{
$this->region = $region;
return $this;
}
public function getRegion(): ?string
{
return $this->region;
}
public function setPhone(string $phone): self
{
$this->phone = $phone;
return $this;
}
public function getPhone(): ?string
{
return $this->phone;
}
public function setMobile(string $mobile): self
{
$this->mobile = $mobile;
return $this;
}
public function getMobile(): ?string
{
return $this->mobile;
}
public function setTitle(string $title): self
{
$this->title = $title;
return $this;
}
public function getTitle(): ?string
{
return $this->title;
}
public function setDescription(string $description): self
{
$this->description = $description;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setKeywords(string $keywords): self
{
$this->keywords = $keywords;
return $this;
}
public function setTva(string $tva): self
{
$this->tva = $tva;
return $this;
}
public function getTva(): ?string
{
return $this->tva;
}
public function setMail(string $mail): self
{
$this->mail = $mail;
return $this;
}
public function getMail(): ?string
{
return $this->mail;
}
public function setWebsite(string $website): self
{
$this->website = $website;
return $this;
}
public function getWebsite(): ?string
{
return $this->website;
}
public function getKeywords(): ?string
{
return $this->keywords;
}
public function setSocialLinks(array $socialLinks): self
{
$this->socialLinks = $socialLinks;
return $this;
}
public function getSocialLinks(): ?array
{
return $this->socialLinks;
}
}