<?phpnamespace App\Entity;use Doctrine\ORM\Mapping as ORM;/** * Provinces * * @ORM\Table(name="provinces") * @ORM\Entity(repositoryClass="App\Repository\ProvincesRepository") */class Provinces{ /** * @var int * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") */ private $id; /** * @var string * * @ORM\Column(name="name", type="string", length=255) */ private $name; /** * @var int * * @ORM\Column(name="code", type="integer") */ private $code; /** * @var int * * @ORM\Column(name="country_id", type="integer") */ private $countryId; /** * @var int * * @ORM\Column(name="region_id", type="integer") */ private $regionId; /** * Get id * * @return int */ public function getId() { return $this->id; } /** * Set name * * @param string $name * * @return Provinces */ public function setName($name) { $this->name = $name; return $this; } /** * Get name * * @return string */ public function getName() { return $this->name; } /** * Set code * * @param integer $code * * @return Provinces */ public function setCode($code) { $this->code = $code; return $this; } /** * Get code * * @return int */ public function getCode() { return $this->code; } /** * Set countryId * * @param integer $countryId * * @return Provinces */ public function setCountryId($countryId) { $this->countryId = $countryId; return $this; } /** * Get countryId * * @return int */ public function getCountryId() { return $this->countryId; } /** * Set regionId * * @param integer $regionId * * @return Provinces */ public function setRegionId($regionId) { $this->regionId = $regionId; return $this; } /** * Get regionId * * @return int */ public function getRegionId() { return $this->regionId; }}