<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
*
* @ORM\Table(
* name="economic_sectors"
* )
*/
class EconomicSector
{
public const ECONOMIC_SECTOR_TRADE = 1;
public const ECONOMIC_SECTOR_CRAFT = 2;
public const ECONOMIC_SECTOR_SERVICES = 3;
public const ECONOMIC_SECTOR_PRODUCTION = 4;
public const ECONOMIC_SECTOR_AUTOMOTIVE = 5;
public const ECONOMIC_SECTOR_HEALTH = 6;
public const ECONOMIC_SECTOR_CONSTRUCTION = 7;
public const ECONOMIC_SECTOR_LOGISTICS = 8;
public const ECONOMIC_SECTOR_GASTRONOMY = 9;
public const ECONOMIC_SECTOR_IT = 10;
public const ECONOMIC_SECTOR_REAL_ESTATE = 11;
public const ECONOMIC_SECTOR_ENERGY = 12;
public const ECONOMIC_SECTOR_BEAUTY = 13;
public const ECONOMIC_SECTOR_OTHER = 14;
/**
* @var int
*
* @ORM\Column(type="integer")
*
* @ORM\Id
*/
protected $id;
public function setId(int $id)
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=1024, nullable=false)
*/
protected $title;
public function setTitle(string $title)
{
$this->title = $title;
return $this;
}
public function getTitle(): string
{
return $this->title;
}
public function __toString(): string
{
return (string)$this->getTitle();
}
}