src/Entity/PlatformFee.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PlatformFeeRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass=PlatformFeeRepository::class)
  7. */
  8. class PlatformFee
  9. {
  10. /**
  11. * @ORM\Id
  12. * @ORM\GeneratedValue
  13. * @ORM\Column(type="integer")
  14. */
  15. private $id;
  16. /**
  17. * @ORM\Column(type="float", nullable=true)
  18. */
  19. private $amt;
  20. /**
  21. * @ORM\Column(type="datetime_immutable")
  22. */
  23. private $createdAt;
  24. /**
  25. * @ORM\Column(type="boolean", nullable=true)
  26. */
  27. private $isPayed;
  28. /**
  29. * @ORM\Column(type="string", length=255, nullable=true)
  30. */
  31. private $stripeId;
  32. public function getId(): ?int
  33. {
  34. return $this->id;
  35. }
  36. public function getAmt(): ?float
  37. {
  38. return $this->amt;
  39. }
  40. public function setAmt(?float $amt): self
  41. {
  42. $this->amt = $amt;
  43. return $this;
  44. }
  45. public function getCreatedAt(): ?\DateTimeImmutable
  46. {
  47. return $this->createdAt;
  48. }
  49. public function setCreatedAt(\DateTimeImmutable $createdAt): self
  50. {
  51. $this->createdAt = $createdAt;
  52. return $this;
  53. }
  54. public function isIsPayed(): ?bool
  55. {
  56. return $this->isPayed;
  57. }
  58. public function setIsPayed(?bool $isPayed): self
  59. {
  60. $this->isPayed = $isPayed;
  61. return $this;
  62. }
  63. public function getStripeId(): ?string
  64. {
  65. return $this->stripeId;
  66. }
  67. public function setStripeId(?string $stripeId): self
  68. {
  69. $this->stripeId = $stripeId;
  70. return $this;
  71. }
  72. }