<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Billing
*
* @ORM\Table(name="grid_price")
* @ORM\Entity
*/
class GridPrice
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=500, nullable=false)
*/
private $name;
public function __toString()
{
return $this->name;
}
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;
}
}