src/IlaveU/ShopBundle/Entity/Shipping/Vehicle/BrakingControl.php line 13
<?phpnamespace App\IlaveU\ShopBundle\Entity\Shipping\Vehicle;use ApiPlatform\Metadata\ApiResource;use App\IlaveU\ShopBundle\Entity\Accounting\PayableInvoice;use App\Repository\IlaveU\ShopBundle\Entity\Shipping\Vehicle\BrakingControlRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: BrakingControlRepository::class)]#[ApiResource]class BrakingControl{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTimeInterface $changeAt = null;#[ORM\Column(nullable: true)]private ?float $counterKm = null;#[ORM\Column(length: 255, nullable: true)]private ?string $brakePads = null;#[ORM\Column(length: 255, nullable: true)]private ?string $brakeDiscs = null;#[ORM\Column(nullable: true)]private ?bool $oilBrake = null;#[ORM\OneToOne(cascade: ['persist', 'remove'])]private ?PayableInvoice $accessoriesPayableInvoice = null;#[ORM\OneToOne(cascade: ['persist', 'remove'])]private ?PayableInvoice $workmanshipPayableInvoice = null;#[ORM\ManyToOne(inversedBy: 'brakingControls')]private ?ShippingVehicle $shippingVehicle = null;public function getId(): ?int{return $this->id;}public function getChangeAt(): ?\DateTimeInterface{return $this->changeAt;}public function setChangeAt(?\DateTimeInterface $changeAt): self{$this->changeAt = $changeAt;return $this;}public function getCounterKm(): ?float{return $this->counterKm;}public function setCounterKm(?float $counterKm): self{$this->counterKm = $counterKm;return $this;}public function getBrakePads(): ?string{return $this->brakePads;}public function setBrakePads(?string $brakePads): self{$this->brakePads = $brakePads;return $this;}public function getBrakeDiscs(): ?string{return $this->brakeDiscs;}public function setBrakeDiscs(?string $brakeDiscs): self{$this->brakeDiscs = $brakeDiscs;return $this;}public function isOilBrake(): ?bool{return $this->oilBrake;}public function setOilBrake(?bool $oilBrake): self{$this->oilBrake = $oilBrake;return $this;}public function getAccessoriesPayableInvoice(): ?PayableInvoice{return $this->accessoriesPayableInvoice;}public function setAccessoriesPayableInvoice(?PayableInvoice $accessoriesPayableInvoice): self{$this->accessoriesPayableInvoice = $accessoriesPayableInvoice;return $this;}public function getWorkmanshipPayableInvoice(): ?PayableInvoice{return $this->workmanshipPayableInvoice;}public function setWorkmanshipPayableInvoice(?PayableInvoice $workmanshipPayableInvoice): self{$this->workmanshipPayableInvoice = $workmanshipPayableInvoice;return $this;}public function getShippingVehicle(): ?ShippingVehicle{return $this->shippingVehicle;}public function setShippingVehicle(?ShippingVehicle $shippingVehicle): self{$this->shippingVehicle = $shippingVehicle;return $this;}}