<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use App\Repository\UserInfoRepository;
#[ORM\Entity(repositoryClass: UserInfoRepository::class)]
class UserInfo
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private ?int $id = null;
#[ORM\Column(type: 'string', length: 255)]
private ?string $fullName = null;
#[ORM\Column(type: 'string', length: 255)]
private ?string $email = null;
#[ORM\Column(type: 'string', length: 255)]
private ?string $firebaseId = null;
#[ORM\Column(type: 'integer')]
private ?int $rewardPoints = 0;
#[ORM\Column(type: 'integer')]
private ?int $walletAmount = 0;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $phoneNumber = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $fcmToken = null;
#[ORM\Column(type: 'string', length: 255)]
private ?string $pushNotifications = null;
#[ORM\Column(type: 'string', length: 255)]
private ?string $apple_id = null;
#[ORM\Column(type: 'datetime', nullable: true)]
private ?\DateTimeInterface $birthday = null;
public function getId(): ?int
{
return $this->id;
}
public function getFullName(): ?string
{
return $this->fullName;
}
public function setFullName(string $fullName): self
{
$this->fullName = $fullName;
return $this;
}
public function getFcmToken(): ?string
{
return $this->fcmToken;
}
public function setFcmToken(string $fcmToken): self
{
$this->fcmToken = $fcmToken;
return $this;
}
public function getPushNotifications(): ?string
{
return $this->pushNotifications;
}
public function setPushNotifications(string $pushNotifications): self
{
$this->pushNotifications = $pushNotifications;
return $this;
}
public function getPhoneNumber(): ?string
{
return $this->phoneNumber;
}
public function setPhoneNumber(string $phoneNumber): self
{
$this->phoneNumber = $phoneNumber;
return $this;
}
public function getBirthday(): ?\DateTimeInterface
{
return $this->birthday;
}
public function setBirthday(?\DateTimeInterface $birthday): self
{
$this->birthday = $birthday;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(string $email): self
{
$this->email = $email;
return $this;
}
public function getFirebaseId(): ?string
{
return $this->firebaseId;
}
public function setFirebaseId(string $firebaseId): self
{
$this->firebaseId = $firebaseId;
return $this;
}
public function getRewardPoints(): ?int
{
return $this->rewardPoints;
}
public function setRewardPoints(int $rewardPoints): self
{
$this->rewardPoints = $rewardPoints;
return $this;
}
public function getWalletAmount(): ?int
{
return $this->walletAmount;
}
public function setWalletAmount(int $walletAmount): self
{
$this->walletAmount = $walletAmount;
return $this;
}
public function getAppleId(): ?string
{
return $this->apple_id;
}
public function setAppleId(string $apple_id): self
{
$this->apple_id = $apple_id;
return $this;
}
}