src/Entity/Lote.php line 15
<?php/** @author Guerby Duval <info@tranzaksyon.com>* @link https://tranzaksyon.com* @copyright You are not allowed to remove this author "Guerby Duval <info@tranzaksyon.com>", the link "https://tranzaksyon.com" neither this copyright.*/namespace App\Entity;use App\Repository\LoteRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: LoteRepository::class)]class Lote{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(length: 255, nullable: true)]private ?string $number = null;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTimeInterface $dateSent = null;#[ORM\OneToOne(inversedBy: 'lote', cascade: ['persist', 'remove'])]#[ORM\JoinColumn(nullable: false)]private ?SriDocument $document = null;public function getId(): ?int{return $this->id;}public function getNumber(): ?string{return $this->number;}public function setNumber(string $number): static{$this->number = $number;return $this;}public function getDateSent(): ?\DateTimeInterface{return $this->dateSent;}public function setDateSent(\DateTimeInterface $dateSent): static{$this->dateSent = $dateSent;return $this;}public function getDocument(): ?SriDocument{return $this->document;}public function setDocument(SriDocument $document): static{$this->document = $document;return $this;}}