src/Entity/ConfigSite.php line 9

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ConfigSiteRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassConfigSiteRepository::class)]
  6. class ConfigSite
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(name'francoDelivery'type'integer'nullabletrue)]
  13.     private ?int $francoDelivery;
  14.     #[ORM\Column(name'costDelivery'type'integer'nullabletrue)]
  15.     private ?int $costDelivery;
  16.     #[ORM\Column(name'numberJoker'type'integer'nullabletrue)]
  17.     private ?int $numberJoker;
  18.     #[ORM\Column(name'actionShock'type'integer'nullabletrue)]
  19.     private ?int $actionShock;
  20.     #[ORM\Column(name'pourcentSpecialCustomer'type'integer'nullabletrue)]
  21.     private ?int $pourcentSpecialCustomer;
  22.     public function getCostDelivery(): ?int
  23.     {
  24.         return $this->costDelivery;
  25.     }
  26.     public function setCostDelivery(?int $costDelivery): void
  27.     {
  28.         $this->costDelivery $costDelivery;
  29.     }
  30.     /**
  31.      * @return int|null
  32.      */
  33.     public function getPourcentSpecialCustomer(): ?int
  34.     {
  35.         return $this->pourcentSpecialCustomer;
  36.     }
  37.     /**
  38.      * @param int|null $pourcentSpecialCustomer
  39.      */
  40.     public function setPourcentSpecialCustomer(?int $pourcentSpecialCustomer): void
  41.     {
  42.         $this->pourcentSpecialCustomer $pourcentSpecialCustomer;
  43.     }
  44.     /**
  45.      * @return int|null
  46.      */
  47.     public function getActionShock(): ?int
  48.     {
  49.         return $this->actionShock;
  50.     }
  51.     /**
  52.      * @param int|null $actionShock
  53.      */
  54.     public function setActionShock(?int $actionShock): void
  55.     {
  56.         $this->actionShock $actionShock;
  57.     }
  58.     public function getId(): ?int
  59.     {
  60.         return $this->id;
  61.     }
  62.     /**
  63.      * @return int|null
  64.      */
  65.     public function getNumberJoker(): ?int
  66.     {
  67.         return $this->numberJoker;
  68.     }
  69.     /**
  70.      * @param int|null $numberJoker
  71.      */
  72.     public function setNumberJoker(?int $numberJoker): void
  73.     {
  74.         $this->numberJoker $numberJoker;
  75.     }
  76.     /**
  77.      * @return int|null
  78.      */
  79.     public function getFrancoDelivery(): ?int
  80.     {
  81.         return $this->francoDelivery;
  82.     }
  83.     /**
  84.      * @param int|null $francoDelivery
  85.      */
  86.     public function setFrancoDelivery(?int $francoDelivery): void
  87.     {
  88.         $this->francoDelivery $francoDelivery;
  89.     }
  90. }