src/Flexy/ShopBundle/Entity/Customer/Visit.php line 13
<?phpnamespace App\Flexy\ShopBundle\Entity\Customer;use ApiPlatform\Metadata\ApiResource;use App\Flexy\ShopBundle\Entity\Store\Store;use App\Repository\Flexy\ShopBundle\Entity\Customer\VisitRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: VisitRepository::class)]#[ApiResource]class Visit{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTimeInterface $createdAt = null;#[ORM\ManyToOne(inversedBy: 'visits')]private ?Customer $customer = null;#[ORM\Column(length: 255, nullable: true)]private ?string $cardReference = null;#[ORM\ManyToOne(inversedBy: 'visits')]private ?Store $store = null;#[ORM\Column(nullable: true)]private ?bool $manual = null;public function getId(): ?int{return $this->id;}public function getCreatedAt(): ?\DateTimeInterface{return $this->createdAt;}public function setCreatedAt(?\DateTimeInterface $createdAt): static{$this->createdAt = $createdAt;return $this;}public function getCustomer(): ?Customer{return $this->customer;}public function setCustomer(?Customer $customer): static{$this->customer = $customer;return $this;}public function getCardReference(): ?string{return $this->cardReference;}public function setCardReference(?string $cardReference): static{$this->cardReference = $cardReference;return $this;}public function getStore(): ?Store{return $this->store;}public function setStore(?Store $store): static{$this->store = $store;return $this;}public function isManual(): ?bool{return $this->manual;}public function setManual(?bool $manual): static{$this->manual = $manual;return $this;}}