src/Entity/UserInfo.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use App\Repository\UserInfoRepository;
  5. #[ORM\Entity(repositoryClassUserInfoRepository::class)]
  6. class UserInfo
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private ?int $id null;
  12.     #[ORM\Column(type'string'length255)]
  13.     private ?string $fullName null;
  14.     #[ORM\Column(type'string'length255)]
  15.     private ?string $email null;
  16.     #[ORM\Column(type'string'length255)]
  17.     private ?string $firebaseId null;
  18.     #[ORM\Column(type'integer')]
  19.     private ?int $rewardPoints 0;
  20.     #[ORM\Column(type'integer')]
  21.     private ?int $walletAmount 0;
  22.     #[ORM\Column(type'string'length255nullabletrue)]
  23.     private ?string $phoneNumber null;
  24.     #[ORM\Column(type'string'length255nullabletrue)]
  25.     private ?string $fcmToken null;
  26.     #[ORM\Column(type'string'length255)]
  27.     private ?string $pushNotifications null;
  28.     #[ORM\Column(type'string'length255)]
  29.     private ?string $apple_id null;
  30.     #[ORM\Column(type'datetime'nullabletrue)]
  31.     private ?\DateTimeInterface $birthday null;
  32.     public function getId(): ?int
  33.     {
  34.         return $this->id;
  35.     }
  36.     public function getFullName(): ?string
  37.     {
  38.         return $this->fullName;
  39.     }
  40.     public function setFullName(string $fullName): self
  41.     {
  42.         $this->fullName $fullName;
  43.         return $this;
  44.     }
  45.     public function getFcmToken(): ?string
  46.     {
  47.         return $this->fcmToken;
  48.     }
  49.     public function setFcmToken(string $fcmToken): self
  50.     {
  51.         $this->fcmToken $fcmToken;
  52.         return $this;
  53.     }
  54.     public function getPushNotifications(): ?string
  55.     {
  56.         return $this->pushNotifications;
  57.     }
  58.     public function setPushNotifications(string $pushNotifications): self
  59.     {
  60.         $this->pushNotifications $pushNotifications;
  61.         return $this;
  62.     }
  63.     public function getPhoneNumber(): ?string
  64.     {
  65.         return $this->phoneNumber;
  66.     }
  67.     public function setPhoneNumber(string $phoneNumber): self
  68.     {
  69.         $this->phoneNumber $phoneNumber;
  70.         return $this;
  71.     }
  72.     public function getBirthday(): ?\DateTimeInterface
  73.     {
  74.         return $this->birthday;
  75.     }
  76.     public function setBirthday(?\DateTimeInterface $birthday): self
  77.     {
  78.         $this->birthday $birthday;
  79.         return $this;
  80.     }
  81.     public function getEmail(): ?string
  82.     {
  83.         return $this->email;
  84.     }
  85.     public function setEmail(string $email): self
  86.     {
  87.         $this->email $email;
  88.         return $this;
  89.     }
  90.     public function getFirebaseId(): ?string
  91.     {
  92.         return $this->firebaseId;
  93.     }
  94.     public function setFirebaseId(string $firebaseId): self
  95.     {
  96.         $this->firebaseId $firebaseId;
  97.         return $this;
  98.     }
  99.     public function getRewardPoints(): ?int
  100.     {
  101.         return $this->rewardPoints;
  102.     }
  103.     public function setRewardPoints(int $rewardPoints): self
  104.     {
  105.         $this->rewardPoints $rewardPoints;
  106.         return $this;
  107.     }
  108.     public function getWalletAmount(): ?int
  109.     {
  110.         return $this->walletAmount;
  111.     }
  112.     public function setWalletAmount(int $walletAmount): self
  113.     {
  114.         $this->walletAmount $walletAmount;
  115.         return $this;
  116.     }
  117.     public function getAppleId(): ?string
  118.     {
  119.         return $this->apple_id;
  120.     }
  121.     public function setAppleId(string $apple_id): self
  122.     {
  123.         $this->apple_id $apple_id;
  124.         return $this;
  125.     }
  126. }