- <?php
- namespace App\Entity;
- use App\Repository\MpesaManualRepository;
- use Doctrine\ORM\Mapping as ORM;
- /**
-  * @ORM\Entity(repositoryClass=MpesaManualRepository::class)
-  * @ORM\Table(name = "neema.mpesa_manual")
-  */
- class MpesaManual
- {
-     /**
-      * @ORM\Id
-      * @ORM\GeneratedValue
-      * @ORM\Column(type="integer")
-      */
-     private $id;
-     /**
-      * @ORM\ManyToOne(targetEntity=MpesaTransaction::class, inversedBy="mpesaManuals")
-      * @ORM\JoinColumn(nullable=false)
-      */
-     private $mpesaTransaction;
-     /**
-      * @ORM\ManyToOne(targetEntity=User::class)
-      * @ORM\JoinColumn(nullable=false)
-      */
-     private $createdBy;
-     /**
-      * @ORM\Column(type="datetime")
-      */
-     private $createdAt;
-     /**
-      * @ORM\ManyToOne(targetEntity=Branch::class)
-      * @ORM\JoinColumn(nullable=false)
-      */
-     private $branch;
-     public function getId(): ?int
-     {
-         return $this->id;
-     }
-     public function getMpesaTransaction(): ?MpesaTransaction
-     {
-         return $this->mpesaTransaction;
-     }
-     public function setMpesaTransaction(?MpesaTransaction $mpesaTransaction): self
-     {
-         $this->mpesaTransaction = $mpesaTransaction;
-         return $this;
-     }
-     public function getCreatedBy(): ?User
-     {
-         return $this->createdBy;
-     }
-     public function setCreatedBy(?User $createdBy): self
-     {
-         $this->createdBy = $createdBy;
-         return $this;
-     }
-     public function getCreatedAt(): ?\DateTimeInterface
-     {
-         return $this->createdAt;
-     }
-     public function setCreatedAt(\DateTimeInterface $createdAt): self
-     {
-         $this->createdAt = $createdAt;
-         return $this;
-     }
-     public function getBranch(): ?Branch
-     {
-         return $this->branch;
-     }
-     public function setBranch(?Branch $branch): self
-     {
-         $this->branch = $branch;
-         return $this;
-     }
- }
-