<?php/** * Created by PhpStorm. * User: parcel * Date: 11/1/18 * Time: 7:50 AM */namespace App\Entity;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity * @ORM\Table(name="mpesa_auth") */class MpesaAuth { /** * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", name="paybill") */ private $paybill; /** * @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 Station * * @ORM\ManyToOne(targetEntity="App\Entity\Station") * @ORM\JoinColumns({ * @ORM\JoinColumn(name="station", referencedColumnName="id") * }) */ private $station; /** * @ORM\Column(type="datetime", name="token_updated_at") */ private $tokenUpdatedAt; /** * @ORM\Column(type="string", name="auth_type") */ private $authType; /** * @ORM\Column(type="string", name="short_code_type") */ private $shortCodeType; /** * @return mixed */ public function getId() { return $this->id; } /** * @param mixed $id */ public function setId($id) { $this->id = $id; } /** * @return mixed */ public function getPaybill() { return $this->paybill; } /** * @param mixed $paybill */ public function setPaybill($paybill) { $this->paybill = $paybill; } /** * @return mixed */ public function getConsumerKey() { return $this->consumerKey; } /** * @param mixed $consumerKey */ public function setConsumerKey($consumerKey) { $this->consumerKey = $consumerKey; } /** * @return mixed */ public function getConsumerSecret() { return $this->consumerSecret; } /** * @param mixed $consumerSecret */ public function setConsumerSecret($consumerSecret) { $this->consumerSecret = $consumerSecret; } /** * @return mixed */ public function getPassKey() { return $this->passKey; } /** * @param mixed $passKey */ public function setPassKey($passKey) { $this->passKey = $passKey; } /** * @return mixed */ public function getToken() { return $this->token; } /** * @param mixed $token */ public function setToken($token) { $this->token = $token; } /** * @return mixed */ public function getTokenUpdatedAt() { return $this->tokenUpdatedAt; } /** * @param mixed $tokenUpdatedAt */ public function setTokenUpdatedAt($tokenUpdatedAt) { $this->tokenUpdatedAt = $tokenUpdatedAt; } /** * @return mixed */ public function getAuthType() { return $this->authType; } /** * @param mixed $authType */ public function setAuthType($authType): void { $this->authType = $authType; } /** * @return Station */ public function getStation(): Station { return $this->station; } /** * @param Station $station */ public function setStation(Station $station): void { $this->station = $station; } /** * @return mixed */ public function getShortCodeType() { return $this->shortCodeType; } /** * @param mixed $shortCodeType */ public function setShortCodeType($shortCodeType): void { $this->shortCodeType = $shortCodeType; }}