Viewing file: AtInmueble.php (22.16 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php namespace Modules\Models; class AtInmueble extends \Phalcon\Mvc\Model {
/** * * @var integer * @Primary * @Identity * @Column(column="imid", type="integer", length=11, nullable=false) */ protected $imid;
/** * * @var string * @Column(column="date_add", type="string", nullable=true) */ protected $date_add;
/** * * @var string * @Column(column="type", type="string", length=75, nullable=true) */ protected $type;
/** * * @var integer * @Column(column="uid", type="integer", length=11, nullable=true) */ protected $uid;
/** * * @var integer * @Column(column="mpid", type="integer", length=11, nullable=true) */ protected $mpid;
/** * * @var integer * @Column(column="uid_update", type="integer", length=11, nullable=true) */ protected $uid_update;
/** * * @var string * @Column(column="name_fraccionamiento", type="string", length=75, nullable=true) */ protected $name_fraccionamiento; protected $cluster;
/** * * @var string * @Column(column="street", type="string", length=150, nullable=true) */ protected $street;
/** * * @var string * @Column(column="neighborhood", type="string", length=150, nullable=true) */ protected $neighborhood;
/** * * @var string * @Column(column="operation", type="string", nullable=true) */ protected $operation;
/** * * @var string * @Column(column="main_image", type="string", length=200, nullable=true) */ protected $main_image;
/** * * @var string * @Column(column="address", type="string", length=200, nullable=true) */ protected $address;
/** * * @var string * @Column(column="url_video", type="string", length=300, nullable=true) */ protected $url_video; protected $url_video_vimeo; protected $url_video_movil; protected $url_video_vimeo_movil;
protected $matterport;
/** * * @var string * @Column(column="postal_code", type="string", length=15, nullable=true) */ protected $postal_code;
/** * * @var string * @Column(column="origin", type="string", length=45, nullable=true) */ protected $origin;
/** * * @var string * @Column(column="validity", type="string", nullable=true) */ protected $validity;
/** * * @var string * @Column(column="lat", type="string", nullable=true) */ protected $lat;
/** * * @var double * @Column(column="latitud", type="double", nullable=true) */ protected $latitud;
/** * * @var double * @Column(column="lon", type="double", nullable=true) */ protected $lon;
/** * * @var integer * @Column(column="comid", type="integer", length=11, nullable=true) */ protected $comid;
/** * * @var string * @Column(column="description", type="string", nullable=true) */ protected $description;
/** * * @var string * @Column(column="inmuebles_24", type="string", nullable=true) */ protected $inmuebles_24;
/** * * @var string * @Column(column="easybroker", type="string", nullable=true) */ protected $easybroker;
/** * * @var string * @Column(column="conditions", type="string", nullable=true) */ protected $conditions;
/** * * @var string * @Column(column="fast_description", type="string", nullable=true) */ protected $fast_description;
/** * * @var integer * @Column(column="folio", type="integer", length=11, nullable=true) */ protected $folio;
/** * * @var string * @Column(column="panoramic_image", type="string", length=120, nullable=true) */ protected $panoramic_image;
/** * * @var string * @Column(column="google_image", type="string", length=120, nullable=true) */ protected $google_image;
/** * * @var string * @Column(column="featured", type="string", nullable=true) */ protected $featured;
/** * * @var string * @Column(column="permalink", type="string", length=150, nullable=true) */ protected $permalink;
/** * * @var string * @Column(column="status", type="string", nullable=true) */ protected $status; protected $age;
protected $title_one; protected $desc_one; protected $title_two; protected $desc_two; protected $title_three; protected $desc_three; protected $title_four; protected $desc_four;
/** * Method to set the value of field imid * * @param integer $imid * @return $this */ public function setImid($imid) { $this->imid = $imid;
return $this; }
/** * Method to set the value of field date_add * * @param string $date_add * @return $this */ public function setDateAdd($date_add) { $this->date_add = $date_add;
return $this; }
/** * Method to set the value of field type * * @param string $type * @return $this */ public function setType($type) { $this->type = $type;
return $this; }
/** * Method to set the value of field uid * * @param integer $uid * @return $this */ public function setUid($uid) { $this->uid = $uid;
return $this; }
/** * Method to set the value of field mpid * * @param integer $mpid * @return $this */ public function setMpid($mpid) { $this->mpid = $mpid;
return $this; }
/** * Method to set the value of field uid_update * * @param integer $uid_update * @return $this */ public function setUidUpdate($uid_update) { $this->uid_update = $uid_update;
return $this; }
/** * Method to set the value of field name_fraccionamiento * * @param string $name_fraccionamiento * @return $this */ public function setNameFraccionamiento($name_fraccionamiento) { $this->name_fraccionamiento = $name_fraccionamiento;
return $this; }
public function setCluster($cluster) { $this->cluster = $cluster;
return $this; }
/** * Method to set the value of field street * * @param string $street * @return $this */ public function setStreet($street) { $this->street = $street;
return $this; }
/** * Method to set the value of field neighborhood * * @param string $neighborhood * @return $this */ public function setNeighborhood($neighborhood) { $this->neighborhood = $neighborhood;
return $this; }
/** * Method to set the value of field operation * * @param string $operation * @return $this */ public function setOperation($operation) { $this->operation = $operation;
return $this; }
/** * Method to set the value of field main_image * * @param string $main_image * @return $this */ public function setMainImage($main_image) { $this->main_image = $main_image;
return $this; }
/** * Method to set the value of field address * * @param string $address * @return $this */ public function setAddress($address) { $this->address = $address;
return $this; }
/** * Method to set the value of field url_video * * @param string $url_video * @return $this */ public function setUrlVideo($url_video) { $this->url_video = $url_video;
return $this; }
public function setUrlVideoVimeo($url_video_vimeo) { $this->url_video_vimeo = $url_video_vimeo;
return $this; }
public function setUrlVideoVimeoMovil($url_video_vimeo_movil) { $this->url_video_vimeo_movil = $url_video_vimeo_movil;
return $this; }
public function setUrlVideoMovil($url_video_movil) { $this->url_video_movil = $url_video_movil;
return $this; }
public function setMatterport($matterport) { $this->matterport = $matterport;
return $this; }
/** * Method to set the value of field postal_code * * @param string $postal_code * @return $this */ public function setPostalCode($postal_code) { $this->postal_code = $postal_code;
return $this; }
/** * Method to set the value of field origin * * @param string $origin * @return $this */ public function setOrigin($origin) { $this->origin = $origin;
return $this; }
/** * Method to set the value of field validity * * @param string $validity * @return $this */ public function setValidity($validity) { $this->validity = $validity;
return $this; }
/** * Method to set the value of field lat * * @param string $lat * @return $this */ public function setLat($lat) { $this->lat = $lat;
return $this; }
/** * Method to set the value of field latitud * * @param double $latitud * @return $this */ public function setLatitud($latitud) { $this->latitud = $latitud;
return $this; }
/** * Method to set the value of field lon * * @param double $lon * @return $this */ public function setLon($lon) { $this->lon = $lon;
return $this; }
/** * Method to set the value of field comid * * @param integer $comid * @return $this */ public function setComid($comid) { $this->comid = $comid;
return $this; }
/** * Method to set the value of field description * * @param string $description * @return $this */ public function setDescription($description) { $this->description = $description;
return $this; }
/** * Method to set the value of field description * * @param string $description * @return $this */ public function setInmuebles24($inmuebles_24) { $this->inmuebles_24 = $inmuebles_24;
return $this; }
/** * Method to set the value of field description * * @param string $description * @return $this */ public function setEasybroker($easybroker) { $this->easybroker = $easybroker;
return $this; }
/** * Method to set the value of field description * * @param string $description * @return $this */ public function setConditions($conditions) { $this->conditions = $conditions;
return $this; }
/** * Method to set the value of field fast_description * * @param string $fast_description * @return $this */ public function setFastDescription($fast_description) { $this->fast_description = $fast_description;
return $this; }
/** * Method to set the value of field folio * * @param integer $folio * @return $this */ public function setFolio($folio) { $this->folio = $folio;
return $this; }
/** * Method to set the value of field panoramic_image * * @param string $panoramic_image * @return $this */ public function setPanoramicImage($panoramic_image) { $this->panoramic_image = $panoramic_image;
return $this; }
/** * Method to set the value of field google_image * * @param string $google_image * @return $this */ public function setGoogleImage($google_image) { $this->google_image = $google_image;
return $this; }
/** * Method to set the value of field featured * * @param string $featured * @return $this */ public function setFeatured($featured) { $this->featured = $featured;
return $this; }
/** * Method to set the value of field permalink * * @param string $permalink * @return $this */ public function setPermalink($permalink) { $this->permalink = $permalink;
return $this; }
/** * Method to set the value of field status * * @param string $status * @return $this */ public function setStatus($status) { $this->status = $status;
return $this; } public function setAge($age) { $this->age = $age;
return $this; }
public function setTitleOne($title_one) { $this->title_one = $title_one;
return $this; } public function setDescOne($desc_one) { $this->desc_one = $desc_one;
return $this; } public function setTitleTwo($title_two) { $this->title_two = $title_two;
return $this; } public function setDescTwo($desc_two) { $this->desc_two = $desc_two;
return $this; } public function setTitleThree($title_three) { $this->title_three = $title_three;
return $this; } public function setDescThree($desc_three) { $this->desc_three = $desc_three;
return $this; } public function setTitleFour($title_four) { $this->title_four = $title_four;
return $this; } public function setDescFour($desc_four) { $this->desc_four = $desc_four;
return $this; }
/** * Returns the value of field imid * * @return integer */ public function getImid() { return $this->imid; }
/** * Returns the value of field date_add * * @return string */ public function getDateAdd() { return $this->date_add; }
/** * Returns the value of field type * * @return string */ public function getType() { return $this->type; }
/** * Returns the value of field uid * * @return integer */ public function getUid() { return $this->uid; }
/** * Returns the value of field mpid * * @return integer */ public function getMpid() { return $this->mpid; }
/** * Returns the value of field uid_update * * @return integer */ public function getUidUpdate() { return $this->uid_update; }
/** * Returns the value of field name_fraccionamiento * * @return string */ public function getNameFraccionamiento() { return $this->name_fraccionamiento; }
public function getCluster() { return $this->cluster; }
/** * Returns the value of field street * * @return string */ public function getStreet() { return $this->street; }
/** * Returns the value of field neighborhood * * @return string */ public function getNeighborhood() { return $this->neighborhood; }
/** * Returns the value of field operation * * @return string */ public function getOperation() { return $this->operation; }
/** * Returns the value of field main_image * * @return string */ public function getMainImage() { return $this->main_image; }
/** * Returns the value of field address * * @return string */ public function getAddress() { return $this->address; }
/** * Returns the value of field url_video * * @return string */ public function getUrlVideo() { return $this->url_video; }
/** * Returns the value of field url_video * * @return string */ public function getUrlVideoMovil() { return $this->url_video_movil; }
public function getUrlVideoVimeo() { return $this->url_video_vimeo; }
public function getUrlVideoVimeoMovil() { return $this->url_video_vimeo_movil; }
public function getMatterport() { return $this->matterport; }
/** * Returns the value of field postal_code * * @return string */ public function getPostalCode() { return $this->postal_code; }
/** * Returns the value of field origin * * @return string */ public function getOrigin() { return $this->origin; }
/** * Returns the value of field validity * * @return string */ public function getValidity() { return $this->validity; }
/** * Returns the value of field lat * * @return string */ public function getLat() { return $this->lat; }
/** * Returns the value of field latitud * * @return double */ public function getLatitud() { return $this->latitud; }
/** * Returns the value of field lon * * @return double */ public function getLon() { return $this->lon; }
/** * Returns the value of field comid * * @return integer */ public function getComid() { return $this->comid; }
/** * Returns the value of field description * * @return string */ public function getDescription() { return $this->description; }
/** * Returns the value of field description * * @return string */ public function getInmuebles24() { return $this->inmuebles_24; }
/** * Returns the value of field description * * @return string */ public function getEasybroker() { return $this->easybroker; } /** * Returns the value of field description * * @return string */ public function getConditions() { return $this->conditions; }
/** * Returns the value of field fast_description * * @return string */ public function getFastDescription() { return $this->fast_description; } /** * Returns the value of field folio * * @return integer */ public function getFolio() { return $this->folio; }
/** * Returns the value of field panoramic_image * * @return string */ public function getPanoramicImage() { return $this->panoramic_image; }
/** * Returns the value of field google_image * * @return string */ public function getGoogleImage() { return $this->google_image; }
/** * Returns the value of field featured * * @return string */ public function getFeatured() { return $this->featured; }
/** * Returns the value of field permalink * * @return string */ public function getPermalink() { return $this->permalink; }
/** * Returns the value of field status * * @return string */ public function getStatus() { return $this->status; } public function getAge() { return $this->age; }
public function getTitleOne() { return $this->title_one; } public function getDescOne() { return $this->desc_one; } public function getTitleTwo() { return $this->title_two; } public function getDescTwo() { return $this->desc_two; } public function getTitleThree() { return $this->title_three; } public function getDescThree() { return $this->desc_three; } public function getTitleFour() { return $this->title_four; } public function getDescFour() { return $this->desc_four; }
/** * Initialize method for model. */ public function initialize() {
$this->setSource("at_inmueble"); $this->hasMany('imid', 'AtAmenities', 'imid', ['alias' => 'AtAmenities']); $this->hasMany('imid', 'AtArchitecturalPlans', 'imid', ['alias' => 'AtArchitecturalPlans']); $this->hasMany('imid', 'AtCharacteristics', 'imid', ['alias' => 'AtCharacteristics']); $this->hasMany('imid', 'AtDimensions', 'imid', ['alias' => 'AtDimensions']); $this->hasMany('imid', 'AtDocuments', 'imid', ['alias' => 'AtDocuments']); $this->hasMany('imid', 'AtEquipment', 'imid', ['alias' => 'AtEquipment']); $this->hasMany('imid', 'AtGallery', 'imid', ['alias' => 'AtGallery']); $this->hasMany('imid', 'AtInternalDatas', 'imid', ['alias' => 'AtInternalDatas']); $this->hasMany('imid', 'AtPdfs', 'imid', ['alias' => 'AtPdfs']); $this->hasMany('imid', 'AtPrice', 'imid', ['alias' => 'AtPrice']); $this->hasMany('imid', 'AtServices', 'imid', ['alias' => 'AtServices']); $this->belongsTo('comid', '\AtCompany', 'comid', ['alias' => 'AtCompany']); $this->belongsTo('mpid', '\AtMunicipios', 'mpid', ['alias' => 'AtMunicipios']); $this->belongsTo('uid', '\AtUser', 'uid', ['alias' => 'AtUser']); }
/** * Returns table name mapped in the model. * * @return string */ public function getSource() { return 'at_inmueble'; }
/** * Allows to query a set of records that match the specified conditions * * @param mixed $parameters * @return AtInmueble[]|AtInmueble|\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 AtInmueble|\Phalcon\Mvc\Model\ResultInterface */ public static function findFirst($parameters = null) { return parent::findFirst($parameters); }
}
|