src/Entity/ConselhoMunicipalContato.php line 9
<?php
namespace App\Entity;
use App\Repository\ConselhoMunicipalContatoRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ConselhoMunicipalContatoRepository::class)]
class ConselhoMunicipalContato
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $contato = null;
#[ORM\Column(length: 20, nullable: true)]
private ?string $telefone = null;
#[ORM\Column(length: 255)]
private ?string $email = null;
#[ORM\Column(length: 255)]
private ?string $classe = null;
#[ORM\Column(length: 25)]
private ?string $cpf = null;
#[ORM\Column(length: 12, nullable: true)]
private ?string $dataInicial = null;
#[ORM\Column(length: 12, nullable: true)]
private ?string $dataFinal = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $representante = null;
#[ORM\ManyToOne(inversedBy: 'conselhoMunicipalContatos')]
private ?ConselhoMunicipal $conselhoMunicipal = null;
public function getId(): ?int
{
return $this->id;
}
public function getContato(): ?string
{
return $this->contato;
}
public function setContato(?string $contato): self
{
$this->contato = $contato;
return $this;
}
public function getTelefone(): ?string
{
return $this->telefone;
}
public function setTelefone(?string $telefone): self
{
$this->telefone = $telefone;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(string $email): self
{
$this->email = $email;
return $this;
}
public function getConselhoMunicipal(): ?ConselhoMunicipal
{
return $this->conselhoMunicipal;
}
public function setConselhoMunicipal(?ConselhoMunicipal $conselhoMunicipal): self
{
$this->conselhoMunicipal = $conselhoMunicipal;
return $this;
}
public function getClasse(): ?string {
return $this->classe;
}
public function getCpf(): ?string {
return $this->cpf;
}
public function setClasse(?string $classe): void {
$this->classe = $classe;
}
public function setCpf(?string $cpf): void {
$this->cpf = $cpf;
}
public function getDataInicial() {
return $this->dataInicial;
}
public function getDataFinal() {
return $this->dataFinal;
}
public function getRepresentante(): ?string {
return $this->representante;
}
public function setDataInicial($dataInicial): void {
$this->dataInicial = $dataInicial;
}
public function setDataFinal($dataFinal): void {
$this->dataFinal = $dataFinal;
}
public function setRepresentante(?string $representante): void {
$this->representante = $representante;
}
}