<?php
namespace App\Entity\Main;
use Doctrine\ORM\Mapping as ORM;
/**
* ApiPropertiesI18n
*
* @ORM\Table(name="api_properties_i18n")
* @ORM\Entity(repositoryClass="App\Repository\Main\ApiPropertiesI18nRepository")
*/
class ApiPropertiesI18n
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="NONE")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="cod_lang", type="string", length=5, nullable=false, options={"fixed"=true})
* @ORM\Id
* @ORM\GeneratedValue(strategy="NONE")
*/
private $codLang;
/**
* @var string|null
*
* @ORM\Column(name="anuncio", type="text", length=65535, nullable=true, options={"default"="NULL"})
*/
private $anuncio = 'NULL';
public function getId(): ?int
{
return $this->id;
}
public function getCodLang(): ?string
{
return $this->codLang;
}
public function getAnuncio(): ?string
{
return $this->anuncio;
}
public function setAnuncio(?string $anuncio): self
{
$this->anuncio = $anuncio;
return $this;
}
}