src/Entity/Company.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CompanyRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=CompanyRepository::class)
  7.  */
  8. class Company
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=255)
  18.      */
  19.     private $Name;
  20.     /**
  21.      * @ORM\Column(type="string", length=255)
  22.      */
  23.     private $website;
  24.     /**
  25.      * @ORM\Column(type="string", length=255)
  26.      */
  27.     private $email;
  28.     /**
  29.      * @ORM\Column(type="string", length=255)
  30.      */
  31.     private $phone;
  32.     /**
  33.      * @ORM\Column(type="text")
  34.      */
  35.     private $brief;
  36.     /**
  37.      * @ORM\Column(type="string", length=255, nullable=true)
  38.      */
  39.     private $industry;
  40.     /**
  41.      * @ORM\Column(type="integer", nullable=true)
  42.      */
  43.     private $status;
  44.     /**
  45.      * @ORM\Column(type="string", length=255, nullable=true)
  46.      */
  47.     private $logo;
  48.     /**
  49.      * @ORM\Column(type="string", length=255, nullable=true)
  50.      */
  51.     private $location;
  52.     /**
  53.      * @ORM\Column(type="integer")
  54.      */
  55.     private $founded;
  56.     /**
  57.      * @ORM\Column(type="integer")
  58.      */
  59.     private $employees;
  60.     /**
  61.      * @ORM\Column(type="integer")
  62.      */
  63.     private $sales;
  64.     public function getId(): ?int
  65.     {
  66.         return $this->id;
  67.     }
  68.     public function getName(): ?string
  69.     {
  70.         return $this->Name;
  71.     }
  72.     public function setName(string $Name): self
  73.     {
  74.         $this->Name $Name;
  75.         return $this;
  76.     }
  77.     public function getWebsite(): ?string
  78.     {
  79.         return $this->website;
  80.     }
  81.     public function setWebsite(string $website): self
  82.     {
  83.         $this->website $website;
  84.         return $this;
  85.     }
  86.     public function getEmail(): ?string
  87.     {
  88.         return $this->email;
  89.     }
  90.     public function setEmail(string $email): self
  91.     {
  92.         $this->email $email;
  93.         return $this;
  94.     }
  95.     public function getPhone(): ?string
  96.     {
  97.         return $this->phone;
  98.     }
  99.     public function setPhone(string $phone): self
  100.     {
  101.         $this->phone $phone;
  102.         return $this;
  103.     }
  104.     public function getBrief(): ?string
  105.     {
  106.         return $this->brief;
  107.     }
  108.     public function setBrief(string $brief): self
  109.     {
  110.         $this->brief $brief;
  111.         return $this;
  112.     }
  113.     public function getIndustry(): ?string
  114.     {
  115.         return $this->industry;
  116.     }
  117.     public function setIndustry(?string $industry): self
  118.     {
  119.         $this->industry $industry;
  120.         return $this;
  121.     }
  122.     public function getStatus(): ?int
  123.     {
  124.         return $this->status;
  125.     }
  126.     public function setStatus(?int $status): self
  127.     {
  128.         $this->status $status;
  129.         return $this;
  130.     }
  131.     public function getLogo(): ?string
  132.     {
  133.         return $this->logo;
  134.     }
  135.     public function setLogo(?string $logo): self
  136.     {
  137.         $this->logo $logo;
  138.         return $this;
  139.     }
  140.     public function getLocation(): ?string
  141.     {
  142.         return $this->location;
  143.     }
  144.     public function setLocation(?string $location): self
  145.     {
  146.         $this->location $location;
  147.         return $this;
  148.     }
  149.     public function getFounded(): ?int
  150.     {
  151.         return $this->founded;
  152.     }
  153.     public function setFounded(int $founded): self
  154.     {
  155.         $this->founded $founded;
  156.         return $this;
  157.     }
  158.     public function getEmployees(): ?int
  159.     {
  160.         return $this->employees;
  161.     }
  162.     public function setEmployees(int $employees): self
  163.     {
  164.         $this->employees $employees;
  165.         return $this;
  166.     }
  167.     public function getSales(): ?int
  168.     {
  169.         return $this->sales;
  170.     }
  171.     public function setSales(int $sales): self
  172.     {
  173.         $this->sales $sales;
  174.         return $this;
  175.     }
  176. }