<?php
namespace App\Entity\ContentDistribution\AgenturFuerArbeit;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
*
* @ORM\Table(
* name="destatis_economic_sectors",
* indexes={
*
* @ORM\Index(name="name_idx", columns={"name"})
* }
* )
*/
class DestatisEconomicSector
{
public function __construct(
int $runningNumber,
string $code,
string $name,
?string $isicRev4
) {
$this->runningNumber = $runningNumber;
$this->code = $code;
$this->name = $name;
$this->isicRev4 = $isicRev4;
}
/**
* @ORM\Column(type="smallint", nullable=false, options={"unsigned": true})
*
* @ORM\Id
*/
private int $runningNumber;
public function getRunningNumber(): int
{
return $this->runningNumber;
}
/**
* @ORM\Column(type="string", nullable=false, length=8, unique=true)
*/
private string $code;
public function getCode(): string
{
return $this->code;
}
/**
* @ORM\Column(type="string", nullable=false, length=256)
*/
private string $name;
public function getName(): string
{
return $this->name;
}
/**
* @ORM\Column(type="string", nullable=true, length=6)
*/
private ?string $isicRev4;
public function getIsicRev4(): ?string
{
return $this->isicRev4;
}
}