<?php
namespace App\Entity;
use App\Repository\ExperienceRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ExperienceRepository::class)]
class Experience
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'string', length: 255)]
private $jobTitle;
#[ORM\Column(type: 'string', length: 255)]
private $sector;
#[ORM\Column(type: 'string', length: 255)]
private $address;
#[ORM\Column(type: 'text')]
private $description;
#[ORM\ManyToOne(targetEntity: CoachInfo::class, inversedBy: 'experience')]
private $coach;
#[ORM\Column(type: 'string', length: 255)]
private $begin;
#[ORM\Column(type: 'string', length: 255)]
private $end;
#[ORM\Column(type: 'string', length: 255)]
private $company;
public function getId(): ?int
{
return $this->id;
}
public function getJobTitle(): ?string
{
return $this->jobTitle;
}
public function setJobTitle(string $jobTitle): self
{
$this->jobTitle = $jobTitle;
return $this;
}
public function getSector(): ?string
{
return $this->sector;
}
public function setSector(string $sector): self
{
$this->sector = $sector;
return $this;
}
public function getAddress(): ?string
{
return $this->address;
}
public function setAddress(string $address): self
{
$this->address = $address;
return $this;
}
public function getDescription()
{
return $this->description;
}
public function setDescription($description)
{
$this->description = $description;
return $this;
}
public function getCoach(): ?CoachInfo
{
return $this->coach;
}
public function setCoach(?CoachInfo $coach): self
{
$this->coach = $coach;
return $this;
}
public function getBegin(): ?string
{
return $this->begin;
}
public function setBegin(string $begin): self
{
$this->begin = $begin;
return $this;
}
public function getEnd(): ?string
{
return $this->end;
}
public function setEnd(string $end): self
{
$this->end = $end;
return $this;
}
public function getCompany(): ?string
{
return $this->company;
}
public function setCompany(string $company): self
{
$this->company = $company;
return $this;
}
}