<?php
namespace App\Entity;
use App\Repository\NumeroDocumentRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=NumeroDocumentRepository::class)
*/
class NumeroDocument
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $typedocument;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $derniernumero;
/**
* @ORM\Column(type="datetime_immutable", nullable=true)
*/
private $created_at;
/**
* @ORM\Column(type="datetime_immutable", nullable=true)
*/
private $updated_at;
public function getId(): ?int
{
return $this->id;
}
public function getTypedocument(): ?string
{
return $this->typedocument;
}
public function setTypedocument(?string $typedocument): self
{
$this->typedocument = $typedocument;
return $this;
}
public function getDerniernumero(): ?string
{
return $this->derniernumero;
}
public function setDerniernumero(?string $derniernumero): self
{
$this->derniernumero = $derniernumero;
return $this;
}
public function getCreatedAt(): ?\DateTimeImmutable
{
return $this->created_at;
}
public function setCreatedAt(?\DateTimeImmutable $created_at): self
{
$this->created_at = $created_at;
return $this;
}
public function getUpdatedAt(): ?\DateTimeImmutable
{
return $this->updated_at;
}
public function setUpdatedAt(?\DateTimeImmutable $updated_at): self
{
$this->updated_at = $updated_at;
return $this;
}
}