<?phpnamespace App\Entity;use App\Repository\MpesaAuthRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=MpesaAuthRepository::class) * @ORM\Table(name = "neema.mpesa_auth") */class MpesaAuth{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", name="till_number") */ private $tillNumber; /** * @ORM\Column(type="string", name="consumer_key") */ private $consumerKey; /** * @ORM\Column(type="string", name="consumer_secret") */ private $consumerSecret; /** * @ORM\Column(type="string", name="pass_key") */ private $passKey; /** * @ORM\Column(type="string", name="token") */ private $token; /** * @var Branch * * @ORM\ManyToOne(targetEntity="App\Entity\Branch") * @ORM\JoinColumns({ * @ORM\JoinColumn(name="branch", referencedColumnName="id") * }) */ private $branch; /** * @ORM\Column(type="string", name="pss") */ private $pss; /** * @ORM\Column(type="datetime", name="token_updated_at") */ private $tokenUpdatedAt; /** * @ORM\Column(type="string", name="auth_type") */ private $authType; /** * @return mixed */ public function getTillNumber() { return $this->tillNumber; } /** * @param mixed $tillNumber */ public function setTillNumber($tillNumber): void { $this->tillNumber = $tillNumber; } /** * @return mixed */ public function getConsumerKey() { return $this->consumerKey; } /** * @param mixed $consumerKey */ public function setConsumerKey($consumerKey): void { $this->consumerKey = $consumerKey; } /** * @return mixed */ public function getConsumerSecret() { return $this->consumerSecret; } /** * @param mixed $consumerSecret */ public function setConsumerSecret($consumerSecret): void { $this->consumerSecret = $consumerSecret; } /** * @return mixed */ public function getPassKey() { return $this->passKey; } /** * @param mixed $passKey */ public function setPassKey($passKey): void { $this->passKey = $passKey; } /** * @return mixed */ public function getToken() { return $this->token; } /** * @param mixed $token */ public function setToken($token): void { $this->token = $token; } /** * @return Branch */ public function getBranch(): Branch { return $this->branch; } /** * @param Branch $branch */ public function setBranch(Branch $branch): void { $this->branch = $branch; } /** * @return mixed */ public function getTokenUpdatedAt() { return $this->tokenUpdatedAt; } /** * @param mixed $tokenUpdatedAt */ public function setTokenUpdatedAt($tokenUpdatedAt): void { $this->tokenUpdatedAt = $tokenUpdatedAt; } /** * @return mixed */ public function getAuthType() { return $this->authType; } /** * @param mixed $authType */ public function setAuthType($authType): void { $this->authType = $authType; } /** * @return mixed */ public function getPss() { return $this->pss; } /** * @param mixed $pss */ public function setPss($pss): void { $this->pss = $pss; } public function getId(): ?int { return $this->id; }}