src/Entity/CommandeGroupeeDigigraph.php line 12
<?phpnamespace App\Entity;use ApiPlatform\Metadata\ApiResource;use App\Repository\CommandeGroupeeDigigraphRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: CommandeGroupeeDigigraphRepository::class)]#[ApiResource(order: ['dateEnvoi' => 'DESC'])]class CommandeGroupeeDigigraph{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTimeInterface $dateEnvoi = null;#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $xml = null;#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $retour = null;#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $idCommandes = null;public function getId(): ?int{return $this->id;}public function getDateEnvoi(): ?\DateTimeInterface{return $this->dateEnvoi;}public function setDateEnvoi(?\DateTimeInterface $dateEnvoi): static{$this->dateEnvoi = $dateEnvoi;return $this;}public function getXml(): ?string{return $this->xml;}public function setXml(?string $xml): static{$this->xml = $xml;return $this;}public function getRetour(): ?string{return $this->retour;}public function setRetour(?string $retour): static{$this->retour = $retour;return $this;}public function getIdCommandes(): ?string{return $this->idCommandes;}public function setIdCommandes(?string $idCommandes): static{$this->idCommandes = $idCommandes;return $this;}}