<?php
declare(strict_types=1);
/*
* This file is part of the ArtHotel Naquera website.
*
* For the full copyright and license information,
* please read the LICENSE.md file that was distributed with this source code.
*
* Copyright (c) 2023.
*/
namespace App\Entity;
use App\Repository\HotelFeatureRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: HotelFeatureRepository::class)]
class HotelFeature
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 2, nullable: true)]
private ?string $language = null;
#[ORM\Column(length: 255)]
private string $title = '';
#[ORM\Column(length: 255)]
private string $image = '';
#[ORM\Column(length: 255)]
private string $subtitle = '';
public function getId(): ?int
{
return $this->id;
}
public function getLanguage(): ?string
{
return $this->language;
}
public function setLanguage(?string $language): self
{
$this->language = $language;
return $this;
}
public function getTitle(): string
{
return $this->title;
}
public function setTitle(string $title): self
{
$this->title = $title;
return $this;
}
public function getImage(): string
{
return $this->image;
}
public function setImage(string $image): self
{
$this->image = $image;
return $this;
}
public function getSubtitle(): string
{
return $this->subtitle;
}
public function setSubtitle(string $subtitle): self
{
$this->subtitle = $subtitle;
return $this;
}
}