<?phpnamespace App\Entity\Website\SubTransactions;use App\Entity\BaseEntity;use App\Entity\Website\Website\Website;use App\Repository\Website\SubTransactions\VasetPalRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;use Symfony\Bridge\Doctrine\IdGenerator\UuidGenerator;#[ORM\Entity(repositoryClass: VasetPalRepository::class)]class VasetPal extends BaseEntity{ #[ORM\Id] #[ORM\Column(type: 'guid', unique: true)] #[ORM\GeneratedValue(strategy: 'CUSTOM')] #[ORM\CustomIdGenerator(class: UuidGenerator::class)] private ?string $id = null; #[ORM\Column(length: 255, nullable: true)] private ?string $authority = null; #[ORM\Column(length: 255)] private ?string $refId = null; #[ORM\Column] private ?bool $isPaid = null; #[ORM\Column(type: Types::BIGINT)] private ?string $price = null; #[ORM\ManyToOne(inversedBy: 'vasetPals')] #[ORM\JoinColumn(nullable: false)] private ?Website $website = null; public function __construct() { parent::__construct(); $this->setIsPaid(0); } public function getId(): ?string { return $this->id; } public function getAuthority(): ?string { return $this->authority; } public function setAuthority(?string $authority): static { $this->authority = $authority; return $this; } public function getRefId(): ?string { return $this->refId; } public function setRefId(string $refId): static { $this->refId = $refId; return $this; } public function isIsPaid(): ?bool { return $this->isPaid; } public function setIsPaid(bool $isPaid): static { $this->isPaid = $isPaid; return $this; } public function getPrice(): ?string { return $this->price; } public function setPrice(string $price): static { $this->price = $price; return $this; } public function getWebsite(): ?Website { return $this->website; } public function setWebsite(?Website $website): static { $this->website = $website; return $this; }}