<?php
namespace App\Entity;
use App\Repository\PlatformFeeRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=PlatformFeeRepository::class)
*/
class PlatformFee
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $amt;
/**
* @ORM\Column(type="datetime_immutable")
*/
private $createdAt;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $isPayed;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $stripeId;
public function getId(): ?int
{
return $this->id;
}
public function getAmt(): ?float
{
return $this->amt;
}
public function setAmt(?float $amt): self
{
$this->amt = $amt;
return $this;
}
public function getCreatedAt(): ?\DateTimeImmutable
{
return $this->createdAt;
}
public function setCreatedAt(\DateTimeImmutable $createdAt): self
{
$this->createdAt = $createdAt;
return $this;
}
public function isIsPayed(): ?bool
{
return $this->isPayed;
}
public function setIsPayed(?bool $isPayed): self
{
$this->isPayed = $isPayed;
return $this;
}
public function getStripeId(): ?string
{
return $this->stripeId;
}
public function setStripeId(?string $stripeId): self
{
$this->stripeId = $stripeId;
return $this;
}
}