<?php
namespace App\Entity;
use App\Repository\OrderDetailRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=OrderDetailRepository::class)
*/
class OrderDetail
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(name="idOrderDetail", type="integer")
*/
private $id;
/**
* @ORM\Column(type="integer")
*/
private $idOrder;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $courseSessionId;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $studentId;
/**
* @ORM\Column(type="string", length=127, nullable=true)
*/
private $studentLastName;
/**
* @ORM\Column(type="string", length=127, nullable=true)
*/
private $studentFirstName;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $courseReference;
/**
* @ORM\Column(type="string", length=127, nullable=true)
*/
private $courseTitle;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $courseQuantity;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $courseAmountTotal;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $taxeRate;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $coursePrice;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $canceled;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $deleted;
public function getId(): ?int
{
return $this->id;
}
public function getIdOrder(): ?int
{
return $this->idOrder;
}
public function setIdOrder(int $idOrder): self
{
$this->idOrder = $idOrder;
return $this;
}
public function getCourseSessionId(): ?int
{
return $this->courseSessionId;
}
public function setCourseSessionId(?int $courseSessionId): self
{
$this->courseSessionId = $courseSessionId;
return $this;
}
public function getStudentId(): ?int
{
return $this->studentId;
}
public function setStudentId(?int $studentId): self
{
$this->studentId = $studentId;
return $this;
}
public function getStudentLastName(): ?string
{
return $this->studentLastName;
}
public function setStudentLastName(?string $studentLastName): self
{
$this->studentLastName = $studentLastName;
return $this;
}
public function getStudentFirstName(): ?string
{
return $this->studentFirstName;
}
public function setStudentFirstName(?string $studentFirstName): self
{
$this->studentFirstName = $studentFirstName;
return $this;
}
public function getCourseReference(): ?string
{
return $this->courseReference;
}
public function setCourseReference(?string $courseReference): self
{
$this->courseReference = $courseReference;
return $this;
}
public function getCourseTitle(): ?string
{
return $this->courseTitle;
}
public function setCourseTitle(?string $courseTitle): self
{
$this->courseTitle = $courseTitle;
return $this;
}
public function getCourseQuantity(): ?int
{
return $this->courseQuantity;
}
public function setCourseQuantity(?int $courseQuantity): self
{
$this->courseQuantity = $courseQuantity;
return $this;
}
public function getCourseAmountTotal(): ?float
{
return $this->courseAmountTotal;
}
public function setCourseAmountTotal(?float $courseAmountTotal): self
{
$this->courseAmountTotal = $courseAmountTotal;
return $this;
}
public function getTaxeRate(): ?float
{
return $this->taxeRate;
}
public function setTaxeRate(?float $taxeRate): self
{
$this->taxeRate = $taxeRate;
return $this;
}
public function getCoursePrice(): ?float
{
return $this->coursePrice;
}
public function setCoursePrice(?float $coursePrice): self
{
$this->coursePrice = $coursePrice;
return $this;
}
public function getCanceled(): ?bool
{
return $this->canceled;
}
public function setCanceled(?bool $canceled): self
{
$this->canceled = $canceled;
return $this;
}
public function getDeleted(): ?bool
{
return $this->deleted;
}
public function setDeleted(?bool $deleted): self
{
$this->deleted = $deleted;
return $this;
}
}