src/Entity/NewTransferProducts.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\NewTransferProductsRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassNewTransferProductsRepository::class)]
  6. class NewTransferProducts extends BaseEntity
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\ManyToOne(targetEntityProduct::class, inversedBy'newTransferProducts')]
  13.     private $product;
  14.     #[ORM\Column(type'decimal'precision19scale4)]
  15.     private $priceFob;
  16.     #[ORM\ManyToOne(targetEntityContainer::class, inversedBy'newTransferProducts')]
  17.     private $container;
  18.     #[ORM\Column(type'float')]
  19.     private $quantity;
  20.     #[ORM\Column(type'decimal'precision19scale4)]
  21.     private $booking;
  22.     #[ORM\Column(type'decimal'precision19scale4)]
  23.     private $buyingPrice;
  24.     #[ORM\Column(type'decimal'precision19scale4)]
  25.     private $transportPrice;
  26.     #[ORM\Column(type'decimal'precision19scale4)]
  27.     private $lashing;
  28.     #[ORM\Column(type'decimal'precision19scale4)]
  29.     private $customsPrice;
  30.     #[ORM\Column(type'decimal'precision19scale4)]
  31.     private $profitMargin;
  32.     #[ORM\Column(type'decimal'precision19scale4)]
  33.     private $totalCostPrice;
  34.     #[ORM\Column(type'decimal'precision19scale4)]
  35.     private $totalPurchasePrice;
  36.     #[ORM\Column(type'decimal'precision19scale4)]
  37.     private $navlun;
  38.     #[ORM\Column(type'float'nullabletrue)]
  39.     private $onaylananQuantity;
  40.     public function getId(): ?int
  41.     {
  42.         return $this->id;
  43.     }
  44.     public function getProduct(): ?Product
  45.     {
  46.         return $this->product;
  47.     }
  48.     public function setProduct(?Product $product): self
  49.     {
  50.         $this->product $product;
  51.         return $this;
  52.     }
  53.     public function getPriceFob(): ?float
  54.     {
  55.         return $this->priceFob;
  56.     }
  57.     public function setPriceFob(float $priceFob): self
  58.     {
  59.         $this->priceFob $priceFob;
  60.         return $this;
  61.     }
  62.     public function getContainer(): ?Container
  63.     {
  64.         return $this->container;
  65.     }
  66.     public function setContainer(?Container $container): self
  67.     {
  68.         $this->container $container;
  69.         return $this;
  70.     }
  71.     public function getQuantity(): ?float
  72.     {
  73.         return $this->quantity;
  74.     }
  75.     public function setQuantity(float $quantity): self
  76.     {
  77.         $this->quantity $quantity;
  78.         return $this;
  79.     }
  80.     public function getBooking(): ?float
  81.     {
  82.         return $this->booking;
  83.     }
  84.     public function setBooking(float $booking): self
  85.     {
  86.         $this->booking $booking;
  87.         return $this;
  88.     }
  89.     public function getBuyingPrice(): ?float
  90.     {
  91.         return $this->buyingPrice;
  92.     }
  93.     public function setBuyingPrice(float $buyingPrice): self
  94.     {
  95.         $this->buyingPrice $buyingPrice;
  96.         return $this;
  97.     }
  98.     public function getTransportPrice(): ?float
  99.     {
  100.         return $this->transportPrice;
  101.     }
  102.     public function setTransportPrice(float $transportPrice): self
  103.     {
  104.         $this->transportPrice $transportPrice;
  105.         return $this;
  106.     }
  107.     public function getLashing(): ?float
  108.     {
  109.         return $this->lashing;
  110.     }
  111.     public function setLashing(float $lashing): self
  112.     {
  113.         $this->lashing $lashing;
  114.         return $this;
  115.     }
  116.     public function getCustomsPrice(): ?float
  117.     {
  118.         return $this->customsPrice;
  119.     }
  120.     public function setCustomsPrice(float $customsPrice): self
  121.     {
  122.         $this->customsPrice $customsPrice;
  123.         return $this;
  124.     }
  125.     public function getProfitMargin(): ?float
  126.     {
  127.         return $this->profitMargin;
  128.     }
  129.     public function setProfitMargin(float $profitMargin): self
  130.     {
  131.         $this->profitMargin $profitMargin;
  132.         return $this;
  133.     }
  134.     public function getTotalCostPrice(): ?float
  135.     {
  136.         return $this->totalCostPrice;
  137.     }
  138.     public function setTotalCostPrice(float $totalCostPrice): self
  139.     {
  140.         $this->totalCostPrice $totalCostPrice;
  141.         return $this;
  142.     }
  143.     public function getTotalPurchasePrice(): ?float
  144.     {
  145.         return $this->totalPurchasePrice;
  146.     }
  147.     public function setTotalPurchasePrice(float $totalPurchasePrice): self
  148.     {
  149.         $this->totalPurchasePrice $totalPurchasePrice;
  150.         return $this;
  151.     }
  152.     public function getNavlun(): ?float
  153.     {
  154.         return $this->navlun;
  155.     }
  156.     public function setNavlun(float $navlun): self
  157.     {
  158.         $this->navlun $navlun;
  159.         return $this;
  160.     }
  161.     /**
  162.      * @return mixed
  163.      */
  164.     public function getOnaylananQuantity()
  165.     {
  166.         return $this->onaylananQuantity;
  167.     }
  168.     /**
  169.      * @param mixed $onaylananQuantity
  170.      */
  171.     public function setOnaylananQuantity($onaylananQuantity): void
  172.     {
  173.         $this->onaylananQuantity $onaylananQuantity;
  174.     }
  175. }