src/Entity/CommandeGroupeeDigigraph.php line 12

  1. <?php
  2. namespace App\Entity;
  3. use ApiPlatform\Metadata\ApiResource;
  4. use App\Repository\CommandeGroupeeDigigraphRepository;
  5. use Doctrine\DBAL\Types\Types;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Entity(repositoryClassCommandeGroupeeDigigraphRepository::class)]
  8. #[ApiResource(order: ['dateEnvoi' => 'DESC'])]
  9. class CommandeGroupeeDigigraph
  10. {
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column]
  14.     private ?int $id null;
  15.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  16.     private ?\DateTimeInterface $dateEnvoi null;
  17.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  18.     private ?string $xml null;
  19.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  20.     private ?string $retour null;
  21.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  22.     private ?string $idCommandes null;
  23.     public function getId(): ?int
  24.     {
  25.         return $this->id;
  26.     }
  27.     public function getDateEnvoi(): ?\DateTimeInterface
  28.     {
  29.         return $this->dateEnvoi;
  30.     }
  31.     public function setDateEnvoi(?\DateTimeInterface $dateEnvoi): static
  32.     {
  33.         $this->dateEnvoi $dateEnvoi;
  34.         return $this;
  35.     }
  36.     public function getXml(): ?string
  37.     {
  38.         return $this->xml;
  39.     }
  40.     public function setXml(?string $xml): static
  41.     {
  42.         $this->xml $xml;
  43.         return $this;
  44.     }
  45.     public function getRetour(): ?string
  46.     {
  47.         return $this->retour;
  48.     }
  49.     public function setRetour(?string $retour): static
  50.     {
  51.         $this->retour $retour;
  52.         return $this;
  53.     }
  54.     public function getIdCommandes(): ?string
  55.     {
  56.         return $this->idCommandes;
  57.     }
  58.     public function setIdCommandes(?string $idCommandes): static
  59.     {
  60.         $this->idCommandes $idCommandes;
  61.         return $this;
  62.     }
  63. }