src/IlaveU/ShopBundle/Entity/Shipping/Vehicle/VehicleRepair.php line 12
<?phpnamespace App\IlaveU\ShopBundle\Entity\Shipping\Vehicle;use ApiPlatform\Metadata\ApiResource;use App\Repository\IlaveU\ShopBundle\Entity\Shipping\VehicleRepairRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: VehicleRepairRepository::class)]#[ApiResource]class VehicleRepair{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(length: 255, nullable: true)]private ?string $title = null;#[ORM\Column(nullable: true)]private ?bool $inGarage = null;#[ORM\Column(length: 255, nullable: true)]private ?string $garageName = null;#[ORM\Column(nullable: true)]private ?int $nbrEmployeesGarage = null;#[ORM\Column(nullable: true)]private ?float $amount = null;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTimeInterface $createdAt = null;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTimeInterface $futureRepairAt = null;#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $description = null;#[ORM\ManyToOne(inversedBy: 'vehicleRepairs')]private ?ShippingVehicle $shippingVehicle = null;public function getId(): ?int{return $this->id;}public function getTitle(): ?string{return $this->title;}public function setTitle(?string $title): self{$this->title = $title;return $this;}public function isInGarage(): ?bool{return $this->inGarage;}public function setInGarage(?bool $inGarage): self{$this->inGarage = $inGarage;return $this;}public function getGarageName(): ?string{return $this->garageName;}public function setGarageName(?string $garageName): self{$this->garageName = $garageName;return $this;}public function getNbrEmployeesGarage(): ?int{return $this->nbrEmployeesGarage;}public function setNbrEmployeesGarage(?int $nbrEmployeesGarage): self{$this->nbrEmployeesGarage = $nbrEmployeesGarage;return $this;}public function getAmount(): ?float{return $this->amount;}public function setAmount(?float $amount): self{$this->amount = $amount;return $this;}public function getCreatedAt(): ?\DateTimeInterface{return $this->createdAt;}public function setCreatedAt(?\DateTimeInterface $createdAt): self{$this->createdAt = $createdAt;return $this;}public function getFutureRepairAt(): ?\DateTimeInterface{return $this->futureRepairAt;}public function setFutureRepairAt(?\DateTimeInterface $futureRepairAt): self{$this->futureRepairAt = $futureRepairAt;return $this;}public function getDescription(): ?string{return $this->description;}public function setDescription(?string $description): self{$this->description = $description;return $this;}public function getShippingVehicle(): ?ShippingVehicle{return $this->shippingVehicle;}public function setShippingVehicle(?ShippingVehicle $shippingVehicle): self{$this->shippingVehicle = $shippingVehicle;return $this;}}