<?php
namespace App\Entity;
use App\Repository\NewTransferProductsRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: NewTransferProductsRepository::class)]
class NewTransferProducts extends BaseEntity
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\ManyToOne(targetEntity: Product::class, inversedBy: 'newTransferProducts')]
private $product;
#[ORM\Column(type: 'decimal', precision: 19, scale: 4)]
private $priceFob;
#[ORM\ManyToOne(targetEntity: Container::class, inversedBy: 'newTransferProducts')]
private $container;
#[ORM\Column(type: 'float')]
private $quantity;
#[ORM\Column(type: 'decimal', precision: 19, scale: 4)]
private $booking;
#[ORM\Column(type: 'decimal', precision: 19, scale: 4)]
private $buyingPrice;
#[ORM\Column(type: 'decimal', precision: 19, scale: 4)]
private $transportPrice;
#[ORM\Column(type: 'decimal', precision: 19, scale: 4)]
private $lashing;
#[ORM\Column(type: 'decimal', precision: 19, scale: 4)]
private $customsPrice;
#[ORM\Column(type: 'decimal', precision: 19, scale: 4)]
private $profitMargin;
#[ORM\Column(type: 'decimal', precision: 19, scale: 4)]
private $totalCostPrice;
#[ORM\Column(type: 'decimal', precision: 19, scale: 4)]
private $totalPurchasePrice;
#[ORM\Column(type: 'decimal', precision: 19, scale: 4)]
private $navlun;
#[ORM\Column(type: 'float', nullable: true)]
private $onaylananQuantity;
public function getId(): ?int
{
return $this->id;
}
public function getProduct(): ?Product
{
return $this->product;
}
public function setProduct(?Product $product): self
{
$this->product = $product;
return $this;
}
public function getPriceFob(): ?float
{
return $this->priceFob;
}
public function setPriceFob(float $priceFob): self
{
$this->priceFob = $priceFob;
return $this;
}
public function getContainer(): ?Container
{
return $this->container;
}
public function setContainer(?Container $container): self
{
$this->container = $container;
return $this;
}
public function getQuantity(): ?float
{
return $this->quantity;
}
public function setQuantity(float $quantity): self
{
$this->quantity = $quantity;
return $this;
}
public function getBooking(): ?float
{
return $this->booking;
}
public function setBooking(float $booking): self
{
$this->booking = $booking;
return $this;
}
public function getBuyingPrice(): ?float
{
return $this->buyingPrice;
}
public function setBuyingPrice(float $buyingPrice): self
{
$this->buyingPrice = $buyingPrice;
return $this;
}
public function getTransportPrice(): ?float
{
return $this->transportPrice;
}
public function setTransportPrice(float $transportPrice): self
{
$this->transportPrice = $transportPrice;
return $this;
}
public function getLashing(): ?float
{
return $this->lashing;
}
public function setLashing(float $lashing): self
{
$this->lashing = $lashing;
return $this;
}
public function getCustomsPrice(): ?float
{
return $this->customsPrice;
}
public function setCustomsPrice(float $customsPrice): self
{
$this->customsPrice = $customsPrice;
return $this;
}
public function getProfitMargin(): ?float
{
return $this->profitMargin;
}
public function setProfitMargin(float $profitMargin): self
{
$this->profitMargin = $profitMargin;
return $this;
}
public function getTotalCostPrice(): ?float
{
return $this->totalCostPrice;
}
public function setTotalCostPrice(float $totalCostPrice): self
{
$this->totalCostPrice = $totalCostPrice;
return $this;
}
public function getTotalPurchasePrice(): ?float
{
return $this->totalPurchasePrice;
}
public function setTotalPurchasePrice(float $totalPurchasePrice): self
{
$this->totalPurchasePrice = $totalPurchasePrice;
return $this;
}
public function getNavlun(): ?float
{
return $this->navlun;
}
public function setNavlun(float $navlun): self
{
$this->navlun = $navlun;
return $this;
}
/**
* @return mixed
*/
public function getOnaylananQuantity()
{
return $this->onaylananQuantity;
}
/**
* @param mixed $onaylananQuantity
*/
public function setOnaylananQuantity($onaylananQuantity): void
{
$this->onaylananQuantity = $onaylananQuantity;
}
}