src/IlaveU/ShopBundle/Entity/Shipping/Vehicle/OtherControl.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\OtherControlRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: OtherControlRepository::class)]#[ApiResource]class OtherControl{#[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 $accessoriesSelection = null;#[ORM\ManyToOne(inversedBy: 'otherControls')]private ?ShippingVehicle $shippingVehicle = null;#[ORM\OneToOne(cascade: ['persist', 'remove'])]private ?PayableInvoice $accessoriesPayableInvoice = null;#[ORM\OneToOne(cascade: ['persist', 'remove'])]private ?PayableInvoice $workmanshipPayableInvoice = 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 getAccessoriesSelection(): ?string{return $this->accessoriesSelection;}public function setAccessoriesSelection(?string $accessoriesSelection): self{$this->accessoriesSelection = $accessoriesSelection;return $this;}public function getShippingVehicle(): ?ShippingVehicle{return $this->shippingVehicle;}public function setShippingVehicle(?ShippingVehicle $shippingVehicle): self{$this->shippingVehicle = $shippingVehicle;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;}}