src/Entity/Recharge.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\RechargeRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassRechargeRepository::class)]
  7. class Recharge
  8. {
  9.     use TimestampableEntityTrait;
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\Column(length255)]
  15.     private ?string $type null;
  16.     #[ORM\Column]
  17.     private ?float $montant null;
  18.     #[ORM\Column(length255)]
  19.     private ?string $devise null;
  20.     #[ORM\Column(length255)]
  21.     private ?string $email null;
  22.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  23.     private ?string $code1 null;
  24.     public function getId(): ?int
  25.     {
  26.         return $this->id;
  27.     }
  28.     public function getType(): ?string
  29.     {
  30.         return $this->type;
  31.     }
  32.     public function setType(string $type): static
  33.     {
  34.         $this->type $type;
  35.         return $this;
  36.     }
  37.     public function getMontant(): ?float
  38.     {
  39.         return $this->montant;
  40.     }
  41.     public function setMontant(float $montant): static
  42.     {
  43.         $this->montant $montant;
  44.         return $this;
  45.     }
  46.     public function getDevise(): ?string
  47.     {
  48.         return $this->devise;
  49.     }
  50.     public function setDevise(string $devise): static
  51.     {
  52.         $this->devise $devise;
  53.         return $this;
  54.     }
  55.     public function getEmail(): ?string
  56.     {
  57.         return $this->email;
  58.     }
  59.     public function setEmail(string $email): static
  60.     {
  61.         $this->email $email;
  62.         return $this;
  63.     }
  64.     public function getCode1(): ?string
  65.     {
  66.         return $this->code1;
  67.     }
  68.     public function setCode1(?string $code1): static
  69.     {
  70.         $this->code1 $code1;
  71.         return $this;
  72.     }
  73. }