<?php
namespace App\Entity\GeoEdge;
use App\Repository\GeoEdge\AgencyRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* Agency entity
*
* @ORM\Entity(repositoryClass=AgencyRepository::class, readOnly=true)
* @ORM\Table(name="openx.ox_agency")
*/
class Agency
{
/**
* The id
*
* @ORM\Id
* @ORM\Column(name="agencyid", type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* The name of the agency
*
* @var string
*
* @ORM\Column(name="name", type="string", length=255)
*/
private string $name;
/**
* Active
*
* @var bool
*
* @ORM\Column(name="active", type="boolean", options={"default" : 0})
*
*/
private bool $active = false;
/**
* @return int
*/
public function getId(): int
{
return $this->id;
}
/**
* @return string
*/
public function getName(): string
{
return $this->name;
}
/**
* @param string $name
*/
public function setName(string $name): void
{
$this->name = $name;
}
/**
* @return bool
*/
public function isActive(): bool
{
return $this->active;
}
/**
* @param bool $active
*/
public function setActive(bool $active): void
{
$this->active = $active;
}
/**
* Constructor
*/
public function __construct()
{
}
}