Viewing file: AtDocumentInmueble.php (4.88 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php namespace Modules\Models; class AtDocumentInmueble extends \Phalcon\Mvc\Model {
/** * * @var integer * @Primary * @Identity * @Column(column="arcid", type="integer", length=11, nullable=false) */ protected $doid;
/** * * @var string * @Column(column="name", type="string", length=150, nullable=true) */ protected $photo_property;
/** * * @var string * @Column(column="name", type="string", length=150, nullable=true) */ protected $contract;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $lease;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $predial;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $date_creation;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $imid;
/** * Method to set the value of field arcid * * @param integer $arcid * @return $this */ public function setDoid($doid) { $this->doid = $doid;
return $this; }
/** * Method to set the value of field name * * @param string $name * @return $this */ public function setPhotoProperty($photo_property) { $this->photo_property = $photo_property;
return $this; }
/** * Method to set the value of field name * * @param string $name * @return $this */ public function setContract($contract) { $this->contract = $contract;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setLease($lease) { $this->lease = $lease;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setPredial($predial) { $this->predial = $predial;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setDateCreation($date_creation) { $this->date_creation = $date_creation;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setImid($imid) { $this->imid = $imid;
return $this; }
/** * Returns the value of field arcid * * @return integer */ public function getDoid() { return $this->doid; }
/** * Returns the value of field name * * @return string */ public function getPhotoProperty() { return $this->photo_property; }
/** * Returns the value of field name * * @return string */ public function getContract() { return $this->contract; }
/** * Returns the value of field name * * @return string */ public function getLease() { return $this->lease; }
/** * Returns the value of field name * * @return string */ public function getPredial() { return $this->predial; }
/** * Returns the value of field imid * * @return string */ public function getDateCreation() { return $this->date_creation; }
/** * Returns the value of field imid * * @return integer */ public function getImid() { return $this->imid; }
/** * Initialize method for model. */ public function initialize() {
$this->setSource("at_documents_inmueble"); $this->belongsTo('imid', '\CdInmueble', 'imid', ['alias' => 'CdInmueble']); }
/** * Returns table name mapped in the model. * * @return string */ public function getSource() { return 'at_documents_inmueble'; }
/** * Allows to query a set of records that match the specified conditions * * @param mixed $parameters * @return CdArchitecturalPlans[]|CdArchitecturalPlans|\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 CdArchitecturalPlans|\Phalcon\Mvc\Model\ResultInterface */ public static function findFirst($parameters = null) { return parent::findFirst($parameters); }
}
|