Viewing file: CdEquipment.php (14.22 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php namespace Modules\Models; class CdEquipment extends \Phalcon\Mvc\Model {
/** * * @var integer * @Primary * @Identity * @Column(column="equid", type="integer", length=11, nullable=false) */ protected $equid;
/** * * @var string * @Column(column="ilumination", type="string", nullable=true) */ protected $ilumination;
/** * * @var string * @Column(column="air_condition", type="string", nullable=true) */ protected $air_condition;
/** * * @var string * @Column(column="furnished", type="string", nullable=true) */ protected $furnished;
/** * * @var string * @Column(column="washing_machine", type="string", nullable=true) */ protected $washing_machine;
/** * * @var string * @Column(column="dyer", type="string", nullable=true) */ protected $dyer;
/** * * @var string * @Column(column="fridge", type="string", nullable=true) */ protected $fridge;
/** * * @var string * @Column(column="line_phone", type="string", nullable=true) */ protected $line_phone;
/** * * @var string * @Column(column="internet", type="string", nullable=true) */ protected $internet;
/** * * @var string * @Column(column="gas", type="string", nullable=true) */ protected $gas;
/** * * @var string * @Column(column="cistern", type="string", nullable=true) */ protected $cistern;
/** * * @var string * @Column(column="Pressurizer", type="string", nullable=true) */ protected $pressurizer;
/** * * @var string * @Column(column="electric_station", type="string", nullable=true) */ protected $electric_station;
/** * * @var string * @Column(column="capacity", type="string", length=45, nullable=true) */ protected $capacity;
/** * * @var string * @Column(column="phone_net", type="string", nullable=true) */ protected $phone_net;
/** * * @var string * @Column(column="data_net", type="string", nullable=true) */ protected $data_net;
/** * * @var string * @Column(column="optical_fiber", type="string", nullable=true) */ protected $optical_fiber;
/** * * @var string * @Column(column="finish_level", type="string", nullable=true) */ protected $finish_level;
/** * * @var string * @Column(column="extinguishers", type="string", nullable=true) */ protected $extinguishers;
/** * * @var string * @Column(column="electric_fence", type="string", nullable=true) */ protected $electric_fence;
/** * * @var string * @Column(column="electric_mesh", type="string", nullable=true) */ protected $electric_mesh;
/** * * @var string * @Column(column="concertina", type="string", nullable=true) */ protected $concertina;
/** * * @var string * @Column(column="steel_grating", type="string", nullable=true) */ protected $steel_grating;
/** * * @var integer * @Column(column="imid", type="integer", length=11, nullable=false) */ protected $imid;
/** * Method to set the value of field equid * * @param integer $equid * @return $this */ public function setEquid($equid) { $this->equid = $equid;
return $this; }
/** * Method to set the value of field ilumination * * @param string $ilumination * @return $this */ public function setIlumination($ilumination) { $this->ilumination = $ilumination;
return $this; }
/** * Method to set the value of field air_condition * * @param string $air_condition * @return $this */ public function setAirCondition($air_condition) { $this->air_condition = $air_condition;
return $this; }
/** * Method to set the value of field furnished * * @param string $furnished * @return $this */ public function setFurnished($furnished) { $this->furnished = $furnished;
return $this; }
/** * Method to set the value of field washing_machine * * @param string $washing_machine * @return $this */ public function setWashingMachine($washing_machine) { $this->washing_machine = $washing_machine;
return $this; }
/** * Method to set the value of field dyer * * @param string $dyer * @return $this */ public function setDyer($dyer) { $this->dyer = $dyer;
return $this; }
/** * Method to set the value of field fridge * * @param string $fridge * @return $this */ public function setFridge($fridge) { $this->fridge = $fridge;
return $this; }
/** * Method to set the value of field line_phone * * @param string $line_phone * @return $this */ public function setLinePhone($line_phone) { $this->line_phone = $line_phone;
return $this; }
/** * Method to set the value of field internet * * @param string $internet * @return $this */ public function setInternet($internet) { $this->internet = $internet;
return $this; }
/** * Method to set the value of field gas * * @param string $gas * @return $this */ public function setGas($gas) { $this->gas = $gas;
return $this; }
/** * Method to set the value of field cistern * * @param string $cistern * @return $this */ public function setCistern($cistern) { $this->cistern = $cistern;
return $this; }
/** * Method to set the value of field pressurizer * * @param string $pressurizer * @return $this */ public function setPressurizer($pressurizer) { $this->pressurizer = $pressurizer;
return $this; }
/** * Method to set the value of field electric_station * * @param string $electric_station * @return $this */ public function setElectricStation($electric_station) { $this->electric_station = $electric_station;
return $this; }
/** * Method to set the value of field capacity * * @param string $capacity * @return $this */ public function setCapacity($capacity) { $this->capacity = $capacity;
return $this; }
/** * Method to set the value of field phone_net * * @param string $phone_net * @return $this */ public function setPhoneNet($phone_net) { $this->phone_net = $phone_net;
return $this; }
/** * Method to set the value of field data_net * * @param string $data_net * @return $this */ public function setDataNet($data_net) { $this->data_net = $data_net;
return $this; }
/** * Method to set the value of field optical_fiber * * @param string $optical_fiber * @return $this */ public function setOpticalFiber($optical_fiber) { $this->optical_fiber = $optical_fiber;
return $this; }
/** * Method to set the value of field finish_level * * @param string $finish_level * @return $this */ public function setFinishLevel($finish_level) { $this->finish_level = $finish_level;
return $this; }
/** * Method to set the value of field extinguishers * * @param string $extinguishers * @return $this */ public function setExtinguishers($extinguishers) { $this->extinguishers = $extinguishers;
return $this; }
/** * Method to set the value of field electric_fence * * @param string $electric_fence * @return $this */ public function setElectricFence($electric_fence) { $this->electric_fence = $electric_fence;
return $this; }
/** * Method to set the value of field electric_mesh * * @param string $electric_mesh * @return $this */ public function setElectricMesh($electric_mesh) { $this->electric_mesh = $electric_mesh;
return $this; }
/** * Method to set the value of field concertina * * @param string $concertina * @return $this */ public function setConcertina($concertina) { $this->concertina = $concertina;
return $this; }
/** * Method to set the value of field steel_grating * * @param string $steel_grating * @return $this */ public function setSteelGrating($steel_grating) { $this->steel_grating = $steel_grating;
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 equid * * @return integer */ public function getEquid() { return $this->equid; }
/** * Returns the value of field ilumination * * @return string */ public function getIlumination() { return $this->ilumination; }
/** * Returns the value of field air_condition * * @return string */ public function getAirCondition() { return $this->air_condition; }
/** * Returns the value of field furnished * * @return string */ public function getFurnished() { return $this->furnished; }
/** * Returns the value of field washing_machine * * @return string */ public function getWashingMachine() { return $this->washing_machine; }
/** * Returns the value of field dyer * * @return string */ public function getDyer() { return $this->dyer; }
/** * Returns the value of field fridge * * @return string */ public function getFridge() { return $this->fridge; }
/** * Returns the value of field line_phone * * @return string */ public function getLinePhone() { return $this->line_phone; }
/** * Returns the value of field internet * * @return string */ public function getInternet() { return $this->internet; }
/** * Returns the value of field gas * * @return string */ public function getGas() { return $this->gas; }
/** * Returns the value of field cistern * * @return string */ public function getCistern() { return $this->cistern; }
/** * Returns the value of field pressurizer * * @return string */ public function getPressurizer() { return $this->pressurizer; }
/** * Returns the value of field electric_station * * @return string */ public function getElectricStation() { return $this->electric_station; }
/** * Returns the value of field capacity * * @return string */ public function getCapacity() { return $this->capacity; }
/** * Returns the value of field phone_net * * @return string */ public function getPhoneNet() { return $this->phone_net; }
/** * Returns the value of field data_net * * @return string */ public function getDataNet() { return $this->data_net; }
/** * Returns the value of field optical_fiber * * @return string */ public function getOpticalFiber() { return $this->optical_fiber; }
/** * Returns the value of field finish_level * * @return string */ public function getFinishLevel() { return $this->finish_level; }
/** * Returns the value of field extinguishers * * @return string */ public function getExtinguishers() { return $this->extinguishers; }
/** * Returns the value of field electric_fence * * @return string */ public function getElectricFence() { return $this->electric_fence; }
/** * Returns the value of field electric_mesh * * @return string */ public function getElectricMesh() { return $this->electric_mesh; }
/** * Returns the value of field concertina * * @return string */ public function getConcertina() { return $this->concertina; }
/** * Returns the value of field steel_grating * * @return string */ public function getSteelGrating() { return $this->steel_grating; }
/** * Returns the value of field imid * * @return integer */ public function getImid() { return $this->imid; }
/** * Initialize method for model. */ public function initialize() {
$this->setSource("at_equipment"); $this->belongsTo('imid', '\CdInmueble', 'imid', ['alias' => 'CdInmueble']); }
/** * Returns table name mapped in the model. * * @return string */ public function getSource() { return 'at_equipment'; }
/** * Allows to query a set of records that match the specified conditions * * @param mixed $parameters * @return CdEquipment[]|CdEquipment|\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 CdEquipment|\Phalcon\Mvc\Model\ResultInterface */ public static function findFirst($parameters = null) { return parent::findFirst($parameters); }
}
|