src/Entity/Zipcode.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Zipcode
  6.  * @ORM\Table(name="zipcode", indexes={@ORM\Index(name="zipcode_city_fk_1", columns={"zc_city_id"})})
  7.  * @ORM\Entity(repositoryClass="App\Repository\ZipcodeRepository")
  8.  */
  9. class Zipcode {
  10.     const STATUS_GMG_UNCHECKED 0;
  11.     const STATUS_GMG_CHECKED_MODIFIED 1;
  12.     const STATUS_GMG_CHECKED_UNMODIFIED 2;
  13.     const STATUS_GMG_UNCONSISTENT_CHECKED 3;
  14.     const STATUS_GMG_UNCONSISTENT_UNCHECKED 4;
  15.     const STATUS_GMG_UNCONSISTENT_CHECKED_NULL 5;
  16.     const STATUS_GMG_CONSISTENT_ADDED_BY_COMMAND 6;
  17.     /**
  18.      * @var integer
  19.      * @ORM\Column(name="zc_id", type="integer")
  20.      * @ORM\Id
  21.      * @ORM\GeneratedValue(strategy="IDENTITY")
  22.      */
  23.     private $zcId;
  24.     /**
  25.      * @var string
  26.      * @ORM\Column(name="zc_name", type="string", length=50, nullable=false)
  27.      */
  28.     private $zcName;
  29.     /**
  30.      * @var string
  31.      * @ORM\Column(name="zc_latitude", type="decimal", precision=10, scale=8, nullable=false)
  32.      */
  33.     private $zcLatitude;
  34.     /**
  35.      * @var string
  36.      * @ORM\Column(name="zc_longitude", type="decimal", precision=10, scale=8, nullable=false)
  37.      */
  38.     private $zcLongitude;
  39.     /**
  40.      * @var string
  41.      * @ORM\Column(name="zc_city_id", type="string", length=50, nullable=false)
  42.      */
  43.     private $zcCity;
  44.     /**
  45.      * @var string
  46.      * @ORM\Column(name="zc_state", type="string", length=40, nullable=false)
  47.      */
  48.     private $state;
  49.     /**
  50.      * @var boolean
  51.      * @ORM\Column(name="zc_user_created", type="boolean", nullable=true)
  52.      */
  53.     private $zcUserCreated;
  54.     /**
  55.      * @var boolean
  56.      * @ORM\Column(name="zc_gmg_checked", type="integer", nullable=true, options={"default":"0"})
  57.      */
  58.     private $gmgChecked;
  59.     /**
  60.      * @var boolean
  61.      * @ORM\Column(name="zc_omt_created", type="boolean", nullable=true, options={"default":"0"})
  62.      */
  63.     private $omtCreated;
  64.     /**
  65.      * @return type
  66.      */
  67.     public function getZcId() {
  68.         return $this->zcId;
  69.     }
  70.     /**
  71.      * @return type
  72.      */
  73.     public function getZcName() {
  74.         return $this->zcName;
  75.     }
  76.     /**
  77.      * @return type
  78.      */
  79.     public function getZcLatitude() {
  80.         return $this->zcLatitude;
  81.     }
  82.     /**
  83.      * @return type
  84.      */
  85.     public function getZcLongitude() {
  86.         return $this->zcLongitude;
  87.     }
  88.     /**
  89.      * @return type
  90.      */
  91.     public function getZcCity() {
  92.         return $this->zcCity;
  93.     }
  94.     /**
  95.      * @param type $zcId
  96.      */
  97.     public function setZcId($zcId) {
  98.         $this->zcId $zcId;
  99.     }
  100.     /**
  101.      * @param type $zcName
  102.      */
  103.     public function setZcName($zcName) {
  104.         $this->zcName $zcName;
  105.     }
  106.     /**
  107.      * @param type $zcLatitude
  108.      */
  109.     public function setZcLatitude($zcLatitude) {
  110.         $this->zcLatitude $zcLatitude;
  111.     }
  112.     /**
  113.      * @param type $zcLongitude
  114.      */
  115.     public function setZcLongitude($zcLongitude) {
  116.         $this->zcLongitude $zcLongitude;
  117.     }
  118.     /**
  119.      * @param type $zcCity
  120.      */
  121.     public function setZcCity($zcCity) {
  122.         $this->zcCity $zcCity;
  123.     }
  124.     /**
  125.      * @return type
  126.      */
  127.     public function getState() {
  128.         return $this->state;
  129.     }
  130.     /**
  131.      * @param type $state
  132.      */
  133.     public function setState($state) {
  134.         $this->state $state;
  135.     }
  136.     /**
  137.      * @return type
  138.      */
  139.     public function getZcUserCreated() {
  140.         return $this->zcUserCreated;
  141.     }
  142.     /**
  143.      * @param type $zcUserCreated
  144.      */
  145.     public function setZcUserCreated($zcUserCreated) {
  146.         $this->zcUserCreated $zcUserCreated;
  147.     }
  148.     /**
  149.      * @return type
  150.      */
  151.     public function getGmgChecked() {
  152.         return $this->gmgChecked;
  153.     }
  154.     /**
  155.      * @param type $gmgChecked
  156.      */
  157.     public function setGmgChecked($gmgChecked) {
  158.         $this->gmgChecked $gmgChecked;
  159.     }
  160.     /**
  161.      * @return type
  162.      */
  163.     public function __toString() {
  164.         return $this->zcName;
  165.     }
  166.     function getOmtCreated() {
  167.         return $this->omtCreated;
  168.     }
  169.     function setOmtCreated($omtCreated) {
  170.         $this->omtCreated $omtCreated;
  171.     }
  172. }