src/Entity/AvailableJobs.php line 15
<?phpnamespace App\Entity;use App\Entity\Trait\MainTranslationTrait;use App\Entity\Translation\AvailableJobsTranslation;use App\Repository\AvailableJobsRepository;use Doctrine\ORM\Mapping as ORM;use Gedmo\Mapping\Annotation as Gedmo;use Gedmo\Translatable\Translatable;#[ORM\Table(name: 'available_jobs')]#[ORM\Entity(repositoryClass: AvailableJobsRepository::class)]#[Gedmo\TranslationEntity(class: AvailableJobsTranslation::class)]class AvailableJobs implements Translatable{use MainTranslationTrait;const TRANSLATION_ENTITY = AvailableJobsTranslation::class;#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(type: 'string', nullable: true)]#[Gedmo\Translatable]private ?string $title = null;#[ORM\Column(type: 'string',unique: true)]#[Gedmo\Slug(fields: ['title'])]private string $slug;#[ORM\Column(type: 'text', nullable: true)]#[Gedmo\Translatable]private ?string $description = null;#[ORM\Column(type: 'text', nullable: true)]#[Gedmo\Translatable]private ?string $body = null;#[ORM\Column(type: 'string', nullable: true)]#[Gedmo\Translatable]private ?string $specialistPosition = null;#[ORM\Column(type: 'string', nullable: true)]#[Gedmo\Translatable]private ?string $workType = null;#[ORM\Column(type: 'date', nullable: true)]#[Gedmo\Translatable]private mixed $deadLine = null;#[ORM\Column(type: 'string',length: 160, nullable: true)]#[Gedmo\Translatable]private ?string $metaKeywords = null;#[ORM\Column(type: 'string',length: 160, nullable: true)]#[Gedmo\Translatable]private ?string $metaDescription = null;public function getId(): ?int{return $this->id;}public function __toString(): string{return $this->title ?? "";}public function getTitle(): ?string{return $this->title;}public function setTitle(?string $title): void{$this->title = $title;}public function getDescription(): ?string{return $this->description;}public function setDescription(?string $description): void{$this->description = $description;}public function getBody(): ?string{return $this->body;}public function setBody(?string $body): void{$this->body = $body;}public function getSpecialistPosition(): ?string{return $this->specialistPosition;}public function setSpecialistPosition(?string $specialistPosition): void{$this->specialistPosition = $specialistPosition;}public function getWorkType(): ?string{return $this->workType;}public function setWorkType(?string $workType): void{$this->workType = $workType;}public function getDeadLine(): mixed{return $this->deadLine;}public function setDeadLine(mixed $deadLine): void{$this->deadLine = $deadLine;}public function getSlug(): string{return $this->slug;}public function setSlug(string $slug): void{$this->slug = $slug;}public function getMetaKeywords(): ?string{return $this->metaKeywords;}public function setMetaKeywords(?string $metaKeywords): void{$this->metaKeywords = $metaKeywords;}public function getMetaDescription(): ?string{return $this->metaDescription;}public function setMetaDescription(?string $metaDescription): void{$this->metaDescription = $metaDescription;}}