src/Entity/OrderApiDetails.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\OrderApiDetailsRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=OrderApiDetailsRepository::class)
  7.  */
  8. class OrderApiDetails
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=OrderApi::class)
  18.      */
  19.     private $idorder;
  20.     /**
  21.      * @ORM\Column(type="integer", nullable=true)
  22.      */
  23.     private $idproduct;
  24.     /**
  25.      * @ORM\Column(type="integer")
  26.      */
  27.     private $quantity;
  28.     /**
  29.      * @ORM\Column(type="integer", nullable=true)
  30.      */
  31.     private $state;
  32.     /**
  33.      * @ORM\Column(type="text")
  34.      */
  35.     private $motif;
  36.     /**
  37.      * @ORM\Column(type="integer")
  38.      */
  39.     private $prixUnitaire;
  40.     /**
  41.      * @ORM\Column(type="text")
  42.      */
  43.     private $pic_url;
  44.     /**
  45.      * @ORM\Column(type="text")
  46.      */
  47.     private $title;
  48.     /**
  49.      * @ORM\Column(type="text")
  50.      */
  51.     private $descri;
  52.     /**
  53.      * @ORM\Column(type="text")
  54.      */
  55.     private $specifi;
  56.     /**
  57.      * @ORM\Column(type="text")
  58.      */
  59.     private $ref;
  60.     /**
  61.      * @ORM\Column(type="integer", nullable=true)
  62.      */
  63.     private $prixLivraison;
  64.     /**
  65.      * @ORM\Column(type="integer", nullable=true)
  66.      */
  67.     private $prixTotalLivraison;
  68.     public function getId(): ?int
  69.     {
  70.         return $this->id;
  71.     }
  72.     public function getIdorder(): ?OrderApi
  73.     {
  74.         return $this->idorder;
  75.     }
  76.     public function setIdorder(?OrderApi $idorder): self
  77.     {
  78.         $this->idorder $idorder;
  79.         return $this;
  80.     }
  81.     public function getIdproduct(): ?int
  82.     {
  83.         return $this->idproduct;
  84.     }
  85.     public function setIdproduct(?int $idproduct): self
  86.     {
  87.         $this->idproduct $idproduct;
  88.         return $this;
  89.     }
  90.     public function getQuantity(): ?int
  91.     {
  92.         return $this->quantity;
  93.     }
  94.     public function setQuantity(int $quantity): self
  95.     {
  96.         $this->quantity $quantity;
  97.         return $this;
  98.     }
  99.     public function getState(): ?int
  100.     {
  101.         return $this->state;
  102.     }
  103.     public function setState(?int $state): self
  104.     {
  105.         $this->state $state;
  106.         return $this;
  107.     }
  108.     public function getMotif(): ?string
  109.     {
  110.         return $this->motif;
  111.     }
  112.     public function setMotif(string $motif): self
  113.     {
  114.         $this->motif $motif;
  115.         return $this;
  116.     }
  117.     public function getPrixUnitaire(): ?int
  118.     {
  119.         return $this->prixUnitaire;
  120.     }
  121.     public function setPrixUnitaire(int $prixUnitaire): self
  122.     {
  123.         $this->prixUnitaire $prixUnitaire;
  124.         return $this;
  125.     }
  126.     public function getPic_url(): ?string
  127.     {
  128.         return $this->pic_url;
  129.     }
  130.     public function setPic_url(string $pic_url): self
  131.     {
  132.         $this->pic_url $pic_url;
  133.         return $this;
  134.     }
  135.     public function getTitle(): ?string
  136.     {
  137.         return $this->title;
  138.     }
  139.     public function setTitle(string $title): self
  140.     {
  141.         $this->title $title;
  142.         return $this;
  143.     }
  144.     public function getDescri(): ?string
  145.     {
  146.         return $this->descri;
  147.     }
  148.     public function setDescri(string $descri): self
  149.     {
  150.         $this->descri $descri;
  151.         return $this;
  152.     }
  153.     public function getSpecifi(): ?string
  154.     {
  155.         return $this->specifi;
  156.     }
  157.     public function setSpecifi(string $specifi): self
  158.     {
  159.         $this->specifi $specifi;
  160.         return $this;
  161.     }
  162.     public function getRef(): ?string
  163.     {
  164.         return $this->ref;
  165.     }
  166.     public function setRef(string $ref): self
  167.     {
  168.         $this->ref $ref;
  169.         return $this;
  170.     }
  171.     public function getPrixLivraison(): ?int
  172.     {
  173.         return $this->prixLivraison;
  174.     }
  175.     public function setPrixLivraison(?int $prixLivraison): self
  176.     {
  177.         $this->prixLivraison $prixLivraison;
  178.         return $this;
  179.     }
  180.     public function getPrixTotalLivraison(): ?int
  181.     {
  182.         return $this->prixTotalLivraison;
  183.     }
  184.     public function setPrixTotalLivraison(?int $prixTotalLivraison): self
  185.     {
  186.         $this->prixTotalLivraison $prixTotalLivraison;
  187.         return $this;
  188.     }
  189. }