apps/backend/src/Entity/VehicleCategory.php line 9
<?phpnamespace Backend\Entity;use Doctrine\ORM\Mapping as ORM;#[ORM\Table(name: 'vehicle_category')]#[ORM\Entity]class VehicleCategory{#[ORM\Column(name: 'id', type: 'integer', nullable: false)]#[ORM\Id]#[ORM\GeneratedValue(strategy: 'IDENTITY')]private int $id;#[ORM\Column(name: 'name', type: 'string', length: 100, nullable: false)]private string $name;#[ORM\Column(name: 'description', type: 'string', length: 150, nullable: false)]private string $description;#[ORM\Column(name: 'icon', type: 'string', length: 100, nullable: false)]private string $icon;public function __toString(): string{return $this->name;}/*** @return int*/public function getId(): int{return $this->id;}/*** @return string*/public function getName(): string{return $this->name;}/*** @param string $name*/public function setName(string $name): void{$this->name = $name;}/*** @return string*/public function getDescription(): string{return $this->description;}/*** @param string $description*/public function setDescription(string $description): void{$this->description = $description;}/*** @return string*/public function getIcon(): string{return $this->icon;}/*** @param string $icon*/public function setIcon(string $icon): void{$this->icon = $icon;}}