src/Flexy/ShopBundle/Entity/Shipping/ShippingVehicle.php line 13
<?phpnamespace App\Flexy\ShopBundle\Entity\Shipping;use ApiPlatform\Core\Annotation\ApiResource;use App\Flexy\ShopBundle\Repository\Shipping\ShippingVehicleRepository;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\ORM\Mapping as ORM;#[ApiResource]#[ORM\Entity(repositoryClass: ShippingVehicleRepository::class)]class ShippingVehicle{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column(type: 'integer')]private $id;#[ORM\Column(type: 'datetime_immutable', nullable: true)]private $createdAt;#[ORM\Column(type: 'string', length: 255)]private $name;#[ORM\Column(type: 'string', length: 255, nullable: true)]private $icon;/*** Get the value of id*/public function getId(){return $this->id;}/*** Get the value of createdAt*/public function getCreatedAt(){return $this->createdAt;}/*** Set the value of createdAt** @return self*/public function setCreatedAt($createdAt){$this->createdAt = $createdAt;return $this;}/*** Get the value of name*/public function getName(){return $this->name;}/*** Set the value of name** @return self*/public function setName($name){$this->name = $name;return $this;}/*** Get the value of icon*/public function getIcon(){return $this->icon;}/*** Set the value of icon** @return self*/public function setIcon($icon){$this->icon = $icon;return $this;}}