Viewing file: CdAmenities.php (11.46 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php namespace Modules\Models; class CdAmenities extends \Phalcon\Mvc\Model {
/** * * @var integer * @Primary * @Identity * @Column(column="amnid", type="integer", length=11, nullable=false) */ protected $amnid;
/** * * @var string * @Column(column="green_areas", type="string", nullable=true) */ protected $green_areas;
/** * * @var string * @Column(column="share_pool", type="string", nullable=true) */ protected $share_pool;
/** * * @var string * @Column(column="palapa", type="string", nullable=true) */ protected $palapa;
/** * * @var string * @Column(column="social_area", type="string", nullable=true) */ protected $social_area;
/** * * @var string * @Column(column="check_in", type="string", nullable=true) */ protected $check_in;
/** * * @var string * @Column(column="gym", type="string", nullable=true) */ protected $gym;
/** * * @var string * @Column(column="banks", type="string", nullable=true) */ protected $banks;
/** * * @var string * @Column(column="government_offices", type="string", nullable=true) */ protected $government_offices;
/** * * @var string * @Column(column="restaurants", type="string", nullable=true) */ protected $restaurants;
/** * * @var string * @Column(column="cafeteries", type="string", nullable=true) */ protected $cafeteries;
/** * * @var string * @Column(column="commercial_seats", type="string", nullable=true) */ protected $commercial_seats;
/** * * @var string * @Column(column="public_transport", type="string", nullable=true) */ protected $public_transport;
/** * * @var string * @Column(column="ways_fast", type="string", nullable=true) */ protected $ways_fast;
/** * * @var string * @Column(column="vehicle_access", type="string", nullable=true) */ protected $vehicle_access;
/** * * @var string * @Column(column="gas_stations", type="string", nullable=true) */ protected $gas_stations;
/** * * @var string * @Column(column="workshops", type="string", nullable=true) */ protected $workshops;
/** * * @var string * @Column(column="repair", type="string", nullable=true) */ protected $repair;
/** * * @var integer * @Column(column="imid", type="integer", length=11, nullable=false) */ protected $imid;
/** * Method to set the value of field amnid * * @param integer $amnid * @return $this */ public function setAmnid($amnid) { $this->amnid = $amnid;
return $this; }
/** * Method to set the value of field green_areas * * @param string $green_areas * @return $this */ public function setGreenAreas($green_areas) { $this->green_areas = $green_areas;
return $this; }
/** * Method to set the value of field share_pool * * @param string $share_pool * @return $this */ public function setSharePool($share_pool) { $this->share_pool = $share_pool;
return $this; }
/** * Method to set the value of field palapa * * @param string $palapa * @return $this */ public function setPalapa($palapa) { $this->palapa = $palapa;
return $this; }
/** * Method to set the value of field social_area * * @param string $social_area * @return $this */ public function setSocialArea($social_area) { $this->social_area = $social_area;
return $this; }
/** * Method to set the value of field check_in * * @param string $check_in * @return $this */ public function setCheckIn($check_in) { $this->check_in = $check_in;
return $this; }
/** * Method to set the value of field gym * * @param string $gym * @return $this */ public function setGym($gym) { $this->gym = $gym;
return $this; }
/** * Method to set the value of field banks * * @param string $banks * @return $this */ public function setBanks($banks) { $this->banks = $banks;
return $this; }
/** * Method to set the value of field government_offices * * @param string $government_offices * @return $this */ public function setGovernmentOffices($government_offices) { $this->government_offices = $government_offices;
return $this; }
/** * Method to set the value of field restaurants * * @param string $restaurants * @return $this */ public function setRestaurants($restaurants) { $this->restaurants = $restaurants;
return $this; }
/** * Method to set the value of field cafeteries * * @param string $cafeteries * @return $this */ public function setCafeteries($cafeteries) { $this->cafeteries = $cafeteries;
return $this; }
/** * Method to set the value of field commercial_seats * * @param string $commercial_seats * @return $this */ public function setCommercialSeats($commercial_seats) { $this->commercial_seats = $commercial_seats;
return $this; }
/** * Method to set the value of field public_transport * * @param string $public_transport * @return $this */ public function setPublicTransport($public_transport) { $this->public_transport = $public_transport;
return $this; }
/** * Method to set the value of field ways_fast * * @param string $ways_fast * @return $this */ public function setWaysFast($ways_fast) { $this->ways_fast = $ways_fast;
return $this; }
/** * Method to set the value of field vehicle_access * * @param string $vehicle_access * @return $this */ public function setVehicleAccess($vehicle_access) { $this->vehicle_access = $vehicle_access;
return $this; }
/** * Method to set the value of field gas_stations * * @param string $gas_stations * @return $this */ public function setGasStations($gas_stations) { $this->gas_stations = $gas_stations;
return $this; }
/** * Method to set the value of field workshops * * @param string $workshops * @return $this */ public function setWorkshops($workshops) { $this->workshops = $workshops;
return $this; }
/** * Method to set the value of field repair * * @param string $repair * @return $this */ public function setRepair($repair) { $this->repair = $repair;
return $this; }
/** * Method to set the value of field imid * * @param integer $imid * @return $this */ public function setImid($imid) { $this->imid = $imid;
return $this; }
/** * Returns the value of field amnid * * @return integer */ public function getAmnid() { return $this->amnid; }
/** * Returns the value of field green_areas * * @return string */ public function getGreenAreas() { return $this->green_areas; }
/** * Returns the value of field share_pool * * @return string */ public function getSharePool() { return $this->share_pool; }
/** * Returns the value of field palapa * * @return string */ public function getPalapa() { return $this->palapa; }
/** * Returns the value of field social_area * * @return string */ public function getSocialArea() { return $this->social_area; }
/** * Returns the value of field check_in * * @return string */ public function getCheckIn() { return $this->check_in; }
/** * Returns the value of field gym * * @return string */ public function getGym() { return $this->gym; }
/** * Returns the value of field banks * * @return string */ public function getBanks() { return $this->banks; }
/** * Returns the value of field government_offices * * @return string */ public function getGovernmentOffices() { return $this->government_offices; }
/** * Returns the value of field restaurants * * @return string */ public function getRestaurants() { return $this->restaurants; }
/** * Returns the value of field cafeteries * * @return string */ public function getCafeteries() { return $this->cafeteries; }
/** * Returns the value of field commercial_seats * * @return string */ public function getCommercialSeats() { return $this->commercial_seats; }
/** * Returns the value of field public_transport * * @return string */ public function getPublicTransport() { return $this->public_transport; }
/** * Returns the value of field ways_fast * * @return string */ public function getWaysFast() { return $this->ways_fast; }
/** * Returns the value of field vehicle_access * * @return string */ public function getVehicleAccess() { return $this->vehicle_access; }
/** * Returns the value of field gas_stations * * @return string */ public function getGasStations() { return $this->gas_stations; }
/** * Returns the value of field workshops * * @return string */ public function getWorkshops() { return $this->workshops; }
/** * Returns the value of field repair * * @return string */ public function getRepair() { return $this->repair; }
/** * Returns the value of field imid * * @return integer */ public function getImid() { return $this->imid; }
/** * Initialize method for model. */ public function initialize() {
$this->setSource("at_amenities"); $this->belongsTo('imid', '\CdInmueble', 'imid', ['alias' => 'CdInmueble']); }
/** * Returns table name mapped in the model. * * @return string */ public function getSource() { return 'at_amenities'; }
/** * Allows to query a set of records that match the specified conditions * * @param mixed $parameters * @return CdAmenities[]|CdAmenities|\Phalcon\Mvc\Model\ResultSetInterface */ public static function find($parameters = null) { return parent::find($parameters); }
/** * Allows to query the first record that match the specified conditions * * @param mixed $parameters * @return CdAmenities|\Phalcon\Mvc\Model\ResultInterface */ public static function findFirst($parameters = null) { return parent::findFirst($parameters); }
}
|