Created
January 12, 2017 17:05
-
-
Save eS-IT/535cb252f66eb910383de02c8e9d3290 to your computer and use it in GitHub Desktop.
Contao 4: Entity-Grundlagen - TlAcmeArea.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Acme\TestBundle\Entity; | |
use \Doctrine\ORM\Mapping as ORM; | |
/** | |
* Class TlAcmeArea | |
* | |
* @ORM\Entity | |
* @ORM\Table(name="tl_acme_area") | |
* @package Acme\TestBundle\Entity | |
*/ | |
class TlAcmeArea | |
{ | |
/** | |
* @var int | |
* @ORM\Id | |
* @ORM\GeneratedValue | |
* @ORM\Column(type="integer") | |
*/ | |
protected $id; | |
/** | |
* @var int | |
* @ORM\Column(type="integer") | |
*/ | |
protected $tstamp; | |
/** | |
* @var string | |
* @ORM\Column(type="string") | |
*/ | |
protected $city; | |
/** | |
* @var string | |
* @ORM\Column(type="string") | |
*/ | |
protected $postal; | |
/** | |
* @var string | |
* @ORM\Column(type="string") | |
*/ | |
protected $country; | |
/** | |
* @return int | |
*/ | |
public function getId(): int | |
{ | |
return $this->id; | |
} | |
/** | |
* @param int $id | |
*/ | |
public function setId(int $id) | |
{ | |
$this->id = $id; | |
} | |
/** | |
* @return int | |
*/ | |
public function getTstamp(): int | |
{ | |
return $this->tstamp; | |
} | |
/** | |
* @param int $tstamp | |
*/ | |
public function setTstamp(int $tstamp) | |
{ | |
$this->tstamp = $tstamp; | |
} | |
/** | |
* @return string | |
*/ | |
public function getCity(): string | |
{ | |
return $this->city; | |
} | |
/** | |
* @param string $city | |
*/ | |
public function setCity(string $city) | |
{ | |
$this->city = $city; | |
} | |
/** | |
* @return string | |
*/ | |
public function getPostal(): string | |
{ | |
return $this->postal; | |
} | |
/** | |
* @param string $postal | |
*/ | |
public function setPostal(string $postal) | |
{ | |
$this->postal = $postal; | |
} | |
/** | |
* @return string | |
*/ | |
public function getCountry(): string | |
{ | |
return $this->country; | |
} | |
/** | |
* @param string $country | |
*/ | |
public function setCountry(string $country) | |
{ | |
$this->country = $country; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment