src/Flexy/ShopBundle/Entity/Payment/Bank.php line 11
<?php
namespace App\Flexy\ShopBundle\Entity\Payment;
use ApiPlatform\Metadata\ApiResource;
use App\Repository\Flexy\ShopBundle\Entity\Payment\BankRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: BankRepository::class)]
#[ApiResource]
class Bank
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $name = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $logo = null;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getLogo(): ?string
{
return $this->logo;
}
public function setLogo(?string $logo): self
{
$this->logo = $logo;
return $this;
}
}