src/Entity/IctoRemboursement.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use App\Repository\IctoRemboursementRepository;
  5. /**
  6.  * @ORM\Entity(repositoryClass=IctoRemboursementRepository::class)
  7.  */
  8. class IctoRemboursement
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="float")
  18.      */
  19.     private $montant_demande;
  20.     /**
  21.      * @ORM\Column(type="boolean", nullable=true)
  22.      */
  23.     private $is_regler;
  24.     /**
  25.      * @ORM\Column(type="float", nullable=true)
  26.      */
  27.     private $montant_recu;
  28.     /**
  29.      * @ORM\Column(type="string", length=255, nullable=true)
  30.      */
  31.     private $recepteur;
  32.     /**
  33.      * @ORM\Column(type="text", nullable=true)
  34.      */
  35.     private $preuve;
  36.     /**
  37.      * @ORM\Column(type="datetime_immutable")
  38.      */
  39.     private $created_at;
  40.     /**
  41.      * @ORM\Column(type="datetime", nullable=true)
  42.      */
  43.     private $modified_at;
  44.     /**
  45.      * @ORM\ManyToOne(targetEntity=IctusPharmacie::class, inversedBy="ictoRemboursements")
  46.      * @ORM\JoinColumn(nullable=true)
  47.      */
  48.     private $demandeur;
  49.     /**
  50.      * @ORM\ManyToOne(targetEntity=User::class, inversedBy="ictoRemboursements")
  51.      */
  52.     private $payeur;
  53.   
  54.     /**
  55.      * @ORM\Column(type="text", nullable=true)
  56.      */
  57.     private $compte;
  58.     /**
  59.      * @ORM\Column(type="boolean", nullable=true)
  60.      */
  61.     private $isCancel;
  62.     /**
  63.      * @ORM\ManyToOne(targetEntity=SocieteLivraison::class, inversedBy="ictoRemboursements")
  64.      */
  65.     private $societeLivraison;
  66.     /**
  67.      * @ORM\ManyToOne(targetEntity=Typepaiement::class, inversedBy="ictoRemboursements")
  68.      * @ORM\JoinColumn(nullable=true)
  69.      */
  70.     private $typePaiementDemande;
  71.     /**
  72.      * @ORM\ManyToOne(targetEntity=Typepaiement::class, inversedBy="ictoRemboursements")
  73.      * @ORM\JoinColumn(nullable=true)
  74.      */
  75.     private $typePaiementObtenue;
  76.     public function __construct(){
  77.         $this->created_at = new \DateTimeImmutable();
  78.     }
  79.     public function getId(): ?int
  80.     {
  81.         return $this->id;
  82.     }
  83.     public function getMontantDemande(): ?float
  84.     {
  85.         return $this->montant_demande;
  86.     }
  87.     public function setMontantDemande(float $montant_demande): self
  88.     {
  89.         $this->montant_demande $montant_demande;
  90.         return $this;
  91.     }
  92.     public function isIsRegler(): ?bool
  93.     {
  94.         return $this->is_regler;
  95.     }
  96.     public function setIsRegler(?bool $is_regler): self
  97.     {
  98.         $this->is_regler $is_regler;
  99.         return $this;
  100.     }
  101.     public function getMontantRecu(): ?float
  102.     {
  103.         return $this->montant_recu;
  104.     }
  105.     public function setMontantRecu(?float $montant_recu): self
  106.     {
  107.         $this->montant_recu $montant_recu;
  108.         return $this;
  109.     }
  110.     public function getRecepteur(): ?string
  111.     {
  112.         return $this->recepteur;
  113.     }
  114.     public function setRecepteur(?string $recepteur): self
  115.     {
  116.         $this->recepteur $recepteur;
  117.         return $this;
  118.     }
  119.     public function getPreuve(): ?string
  120.     {
  121.         return $this->preuve;
  122.     }
  123.     public function setPreuve(?string $preuve): self
  124.     {
  125.         $this->preuve $preuve;
  126.         return $this;
  127.     }
  128.     public function getCreatedAt(): ?\DateTimeImmutable
  129.     {
  130.         return $this->created_at;
  131.     }
  132.     public function setCreatedAt(\DateTimeImmutable $created_at): self
  133.     {
  134.         $this->created_at $created_at;
  135.         return $this;
  136.     }
  137.     public function getModifiedAt(): ?\DateTime
  138.     {
  139.         return $this->modified_at;
  140.     }
  141.     public function setModifiedAt(?\DateTime $modified_at): self
  142.     {
  143.         $this->modified_at $modified_at;
  144.         return $this;
  145.     }
  146.     public function getDemandeur(): ?IctusPharmacie
  147.     {
  148.         return $this->demandeur;
  149.     }
  150.     public function setDemandeur(?IctusPharmacie $demandeur): self
  151.     {
  152.         $this->demandeur $demandeur;
  153.         return $this;
  154.     }
  155.     public function getPayeur(): ?User
  156.     {
  157.         return $this->payeur;
  158.     }
  159.     public function setPayeur(?User $payeur): self
  160.     {
  161.         $this->payeur $payeur;
  162.         return $this;
  163.     }
  164.     
  165.     public function getCompte(): ?string
  166.     {
  167.         return $this->compte;
  168.     }
  169.     public function setCompte(?string $compte): self
  170.     {
  171.         $this->compte $compte;
  172.         return $this;
  173.     }
  174.     public function isIsCancel(): ?bool
  175.     {
  176.         return $this->isCancel;
  177.     }
  178.     public function setIsCancel(?bool $isCancel): self
  179.     {
  180.         $this->isCancel $isCancel;
  181.         return $this;
  182.     }
  183.     public function getSocieteLivraison(): ?SocieteLivraison
  184.     {
  185.         return $this->societeLivraison;
  186.     }
  187.     public function setSocieteLivraison(?SocieteLivraison $societeLivraison): self
  188.     {
  189.         $this->societeLivraison $societeLivraison;
  190.         return $this;
  191.     }
  192.     public function getTypePaiementDemande(): ?Typepaiement
  193.     {
  194.         return $this->typePaiementDemande;
  195.     }
  196.     public function setTypePaiementDemande(?Typepaiement $typePaiementDemande): self
  197.     {
  198.         $this->typePaiementDemande $typePaiementDemande;
  199.         return $this;
  200.     }
  201.     public function getTypePaiementObtenue(): ?Typepaiement
  202.     {
  203.         return $this->typePaiementObtenue;
  204.     }
  205.     public function setTypePaiementObtenue(?Typepaiement $typePaiementObtenue): self
  206.     {
  207.         $this->typePaiementObtenue $typePaiementObtenue;
  208.         return $this;
  209.     }
  210. }