<?php
namespace App\Entity;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* Company
*
* @ORM\Table(name="company")
* @ORM\Entity
*/
class Company
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="company_title", type="string", length=255, nullable=false)
*/
private $companyTitle;
/**
* @var bool
*
* @ORM\Column(name="is_active", type="boolean", nullable=false, options={"default"="1"})
*/
private $isActive = true;
/**
* @var bool
*
* @ORM\Column(name="is_deleted", type="boolean", nullable=false)
*/
private $isDeleted = '0';
/**
* @var \DateTime|null
*
* @ORM\Column(name="created_at", type="datetime", nullable=true)
*/
private $createdAt;
public function getId(): ?int
{
return $this->id;
}
public function getCompanyTitle(): ?string
{
return $this->companyTitle;
}
public function setCompanyTitle(string $companyTitle): self
{
$this->companyTitle = $companyTitle;
return $this;
}
public function getIsActive(): ?bool
{
return $this->isActive;
}
public function setIsActive(bool $isActive): self
{
$this->isActive = $isActive;
return $this;
}
public function getIsDeleted(): ?bool
{
return $this->isDeleted;
}
public function setIsDeleted(bool $isDeleted): self
{
$this->isDeleted = $isDeleted;
return $this;
}
public function getCreatedAt(): ?\DateTimeInterface
{
return $this->createdAt;
}
public function setCreatedAt(?\DateTimeInterface $createdAt): self
{
$this->createdAt = $createdAt;
return $this;
}
public function isIsActive(): ?bool
{
return $this->isActive;
}
public function isIsDeleted(): ?bool
{
return $this->isDeleted;
}
}