<?phpdeclare(strict_types=1);namespace App\Entity\Logs;use Doctrine\ORM\Mapping as ORM;/** * CartShippingOptions * * @ORM\Table( * name="cart_shipping_options", * indexes={ * * @ORM\Index(name="cart_id_idx", columns={"cart_id"}), * } * ) * * @ORM\Entity(repositoryClass="App\Repository\Logs\CartShippingOptionsRepository") */class CartShippingOptions{ /** * @ORM\Id() * * @ORM\GeneratedValue() * * @ORM\Column(type="integer", name="id_cart_shipping_options") */ private ?int $id = null; /** * @ORM\Column(type="integer",name="cart_id") */ private int $cartId; /** * @ORM\Column(type="datetime", name="date_add") */ private \DateTime $dateAdd; /** * @ORM\Column(type="text", name="request_contents") */ private string $requestContents; /** * @ORM\Column(type="text", name="response_contents") */ private string $responseContents; public function __construct() { $this->dateAdd = new \DateTime(); } public function getId(): ?int { return $this->id; } public function getCartId(): int { return $this->cartId; } public function setCartId(int $cartId): self { $this->cartId = $cartId; return $this; } public function getDateAdd(): \DateTime { return $this->dateAdd; } public function setDateAdd(\DateTime $dateAdd): self { $this->dateAdd = $dateAdd; return $this; } public function getRequestContents(): string { return $this->requestContents; } public function setRequestContents(string $requestContents): self { $this->requestContents = $requestContents; return $this; } public function getResponseContents(): string { return $this->responseContents; } public function setResponseContents(string $responseContents): self { $this->responseContents = $responseContents; return $this; }}