src/Entity/ConselhoMunicipalContato.php line 9

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ConselhoMunicipalContatoRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassConselhoMunicipalContatoRepository::class)]
  6. class ConselhoMunicipalContato
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255nullabletrue)]
  13.     private ?string $contato null;
  14.     #[ORM\Column(length20nullabletrue)]
  15.     private ?string $telefone null;
  16.     #[ORM\Column(length255)]
  17.     private ?string $email null;
  18.     
  19.     #[ORM\Column(length255)]
  20.     private ?string $classe null;    
  21.     #[ORM\Column(length25)]
  22.     private ?string $cpf null;    
  23.     
  24.     #[ORM\Column(length12nullabletrue)]
  25.     private ?string $dataInicial null;
  26.     #[ORM\Column(length12nullabletrue)]
  27.     private ?string $dataFinal null;
  28.     
  29.     #[ORM\Column(length255nullabletrue)]
  30.     private ?string $representante null;    
  31.     
  32.     #[ORM\ManyToOne(inversedBy'conselhoMunicipalContatos')]
  33.     private ?ConselhoMunicipal $conselhoMunicipal null;
  34.     public function getId(): ?int
  35.     {
  36.         return $this->id;
  37.     }
  38.     public function getContato(): ?string
  39.     {
  40.         return $this->contato;
  41.     }
  42.     public function setContato(?string $contato): self
  43.     {
  44.         $this->contato $contato;
  45.         return $this;
  46.     }
  47.     public function getTelefone(): ?string
  48.     {
  49.         return $this->telefone;
  50.     }
  51.     public function setTelefone(?string $telefone): self
  52.     {
  53.         $this->telefone $telefone;
  54.         return $this;
  55.     }
  56.     public function getEmail(): ?string
  57.     {
  58.         return $this->email;
  59.     }
  60.     public function setEmail(string $email): self
  61.     {
  62.         $this->email $email;
  63.         return $this;
  64.     }
  65.     public function getConselhoMunicipal(): ?ConselhoMunicipal
  66.     {
  67.         return $this->conselhoMunicipal;
  68.     }
  69.     public function setConselhoMunicipal(?ConselhoMunicipal $conselhoMunicipal): self
  70.     {
  71.         $this->conselhoMunicipal $conselhoMunicipal;
  72.         return $this;
  73.     }
  74.     
  75.     public function getClasse(): ?string {
  76.         return $this->classe;
  77.     }
  78.     public function getCpf(): ?string {
  79.         return $this->cpf;
  80.     }
  81.     public function setClasse(?string $classe): void {
  82.         $this->classe $classe;
  83.     }
  84.     public function setCpf(?string $cpf): void {
  85.         $this->cpf $cpf;
  86.     }
  87.     public function getDataInicial() {
  88.         return $this->dataInicial;
  89.     }
  90.     public function getDataFinal() {
  91.         return $this->dataFinal;
  92.     }
  93.     public function getRepresentante(): ?string {
  94.         return $this->representante;
  95.     }
  96.     public function setDataInicial($dataInicial): void {
  97.         $this->dataInicial $dataInicial;
  98.     }
  99.     public function setDataFinal($dataFinal): void {
  100.         $this->dataFinal $dataFinal;
  101.     }
  102.     public function setRepresentante(?string $representante): void {
  103.         $this->representante $representante;
  104.     }
  105.     
  106. }