Viewing file: CdDimensions.php (9.36 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php namespace Modules\Models; class CdDimensions extends \Phalcon\Mvc\Model {
/** * * @var integer * @Primary * @Identity * @Column(column="dimid", type="integer", length=11, nullable=false) */ protected $dimid;
/** * * @var string * @Column(column="construction_superface", type="string", length=45, nullable=true) */ protected $construction_superface;
/** * * @var string * @Column(column="ground_superface", type="string", length=45, nullable=true) */ protected $ground_superface;
/** * * @var string * @Column(column="front", type="string", length=45, nullable=true) */ protected $front;
/** * * @var string * @Column(column="background", type="string", length=45, nullable=true) */ protected $background;
/** * * @var string * @Column(column="build_area", type="string", length=45, nullable=true) */ protected $build_area;
/** * * @var string * @Column(column="rent_area", type="string", length=45, nullable=true) */ protected $rent_area;
/** * * @var string * @Column(column="roofed_area", type="string", length=45, nullable=true) */ protected $roofed_area;
/** * * @var string * @Column(column="ground_area", type="string", length=45, nullable=true) */ protected $ground_area;
/** * * @var string * @Column(column="max_height", type="string", length=45, nullable=true) */ protected $max_height;
/** * * @var string * @Column(column="free_height", type="string", length=45, nullable=true) */ protected $free_height;
/** * * @var string * @Column(column="shape", type="string", nullable=true) */ protected $shape;
/** * * @var string * @Column(column="deep", type="string", length=45, nullable=true) */ protected $deep;
/** * * @var string * @Column(column="inside", type="string", length=45, nullable=true) */ protected $inside;
/** * * @var integer * @Column(column="imid", type="integer", length=11, nullable=false) */ protected $imid;
/** * Method to set the value of field dimid * * @param integer $dimid * @return $this */ public function setDimid($dimid) { $this->dimid = $dimid;
return $this; }
/** * Method to set the value of field construction_superface * * @param string $construction_superface * @return $this */ public function setConstructionSuperface($construction_superface) { $this->construction_superface = $construction_superface;
return $this; }
/** * Method to set the value of field ground_superface * * @param string $ground_superface * @return $this */ public function setGroundSuperface($ground_superface) { $this->ground_superface = $ground_superface;
return $this; }
/** * Method to set the value of field front * * @param string $front * @return $this */ public function setFront($front) { $this->front = $front;
return $this; }
/** * Method to set the value of field background * * @param string $background * @return $this */ public function setBackground($background) { $this->background = $background;
return $this; }
/** * Method to set the value of field build_area * * @param string $build_area * @return $this */ public function setBuildArea($build_area) { $this->build_area = $build_area;
return $this; }
/** * Method to set the value of field rent_area * * @param string $rent_area * @return $this */ public function setRentArea($rent_area) { $this->rent_area = $rent_area;
return $this; }
/** * Method to set the value of field roofed_area * * @param string $roofed_area * @return $this */ public function setRoofedArea($roofed_area) { $this->roofed_area = $roofed_area;
return $this; }
/** * Method to set the value of field ground_area * * @param string $ground_area * @return $this */ public function setGroundArea($ground_area) { $this->ground_area = $ground_area;
return $this; }
/** * Method to set the value of field max_height * * @param string $max_height * @return $this */ public function setMaxHeight($max_height) { $this->max_height = $max_height;
return $this; }
/** * Method to set the value of field free_height * * @param string $free_height * @return $this */ public function setFreeHeight($free_height) { $this->free_height = $free_height;
return $this; }
/** * Method to set the value of field shape * * @param string $shape * @return $this */ public function setShape($shape) { $this->shape = $shape;
return $this; }
/** * Method to set the value of field deep * * @param string $deep * @return $this */ public function setDeep($deep) { $this->deep = $deep;
return $this; }
/** * Method to set the value of field inside * * @param string $inside * @return $this */ public function setInside($inside) { $this->inside = $inside;
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 dimid * * @return integer */ public function getDimid() { return $this->dimid; }
/** * Returns the value of field construction_superface * * @return string */ public function getConstructionSuperface() { return $this->construction_superface; }
/** * Returns the value of field ground_superface * * @return string */ public function getGroundSuperface() { return $this->ground_superface; }
/** * Returns the value of field front * * @return string */ public function getFront() { return $this->front; }
/** * Returns the value of field background * * @return string */ public function getBackground() { return $this->background; }
/** * Returns the value of field build_area * * @return string */ public function getBuildArea() { return $this->build_area; }
/** * Returns the value of field rent_area * * @return string */ public function getRentArea() { return $this->rent_area; }
/** * Returns the value of field roofed_area * * @return string */ public function getRoofedArea() { return $this->roofed_area; }
/** * Returns the value of field ground_area * * @return string */ public function getGroundArea() { return $this->ground_area; }
/** * Returns the value of field max_height * * @return string */ public function getMaxHeight() { return $this->max_height; }
/** * Returns the value of field free_height * * @return string */ public function getFreeHeight() { return $this->free_height; }
/** * Returns the value of field shape * * @return string */ public function getShape() { return $this->shape; }
/** * Returns the value of field deep * * @return string */ public function getDeep() { return $this->deep; }
/** * Returns the value of field inside * * @return string */ public function getInside() { return $this->inside; }
/** * Returns the value of field imid * * @return integer */ public function getImid() { return $this->imid; }
/** * Initialize method for model. */ public function initialize() {
$this->setSource("at_dimensions"); $this->belongsTo('imid', '\CdInmueble', 'imid', ['alias' => 'CdInmueble']); }
/** * Returns table name mapped in the model. * * @return string */ public function getSource() { return 'at_dimensions'; }
/** * Allows to query a set of records that match the specified conditions * * @param mixed $parameters * @return CdDimensions[]|CdDimensions|\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 CdDimensions|\Phalcon\Mvc\Model\ResultInterface */ public static function findFirst($parameters = null) { return parent::findFirst($parameters); }
}
|