Viewing file: AtContract.php (8.72 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php namespace Modules\Models; class AtContract extends \Phalcon\Mvc\Model {
/** * * @var integer * @Primary * @Identity * @Column(column="arcid", type="integer", length=11, nullable=false) */ protected $crid;
/** * * @var string * @Column(column="name", type="string", length=150, nullable=true) */ protected $date_signature;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $date_init;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $dat_end;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $rent_init;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $quote_maintenance;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $anual_increment;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $total;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $date_creation;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $signature;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $status;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $validity;
/** * * @var integer * @Column(column="imid", type="integer", length=11, nullable=false) */ protected $imid;
/** * * @var integer * @Column(column="imid", type="integer", length=11, nullable=false) */ protected $uid;
/** * Method to set the value of field arcid * * @param integer $arcid * @return $this */ public function setCrid($crid) { $this->crid = $crid;
return $this; }
/** * Method to set the value of field name * * @param string $name * @return $this */ public function setDateSignature($date_signature) { $this->date_signature = $date_signature;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setDateInit($date_init) { $this->date_init = $date_init;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setDatEnd($dat_end) { $this->dat_end = $dat_end;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setRentInit($rent_init) { $this->rent_init = $rent_init;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setQuoteMaintenance($quote_maintenance) { $this->quote_maintenance = $quote_maintenance;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setAnualIncrement($anual_increment) { $this->anual_increment = $anual_increment;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setTotal($total) { $this->total = $total;
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 setSignature($signature) { $this->signature = $signature;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setStatus($status) { $this->status = $status;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setValidity($validity) { $this->validity = $validity;
return $this; }
/** * 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 imid * * @param integer $imid * @return $this */ public function setUid($uid) { $this->uid = $uid; return $this; }
/** * Returns the value of field arcid * * @return integer */ public function getCrid() { return $this->crid; }
/** * Returns the value of field name * * @return string */ public function getDateSignature() { return $this->date_signature; }
/** * Returns the value of field name * * @return string */ public function getDateInit() { return $this->date_init; }
/** * Returns the value of field name * * @return string */ public function getDatEnd() { return $this->dat_end; }
/** * Returns the value of field name * * @return string */ public function getRentInit() { return $this->rent_init; }
/** * Returns the value of field name * * @return string */ public function getQuoteMaintenance() { return $this->quote_maintenance; }
/** * Returns the value of field name * * @return string */ public function getAnualIncrement() { return $this->anual_increment; }
/** * Returns the value of field name * * @return string */ public function getTotal() { return $this->total; }
/** * Returns the value of field name * * @return string */ public function getSignature() { return $this->signature; }
/** * Returns the value of field date_creation * * @return string */ public function getDateCreation() { return $this->date_creation; }
/** * Returns the value of field date_creation * * @return string */ public function getStatus() { return $this->status; }
/** * Returns the value of field date_creation * * @return string */ public function getValidity() { return $this->validity; }
/** * Returns the value of field imid * * @return integer */ public function getImid() { return $this->imid; }
/** * Returns the value of field imid * * @return integer */ public function getUid() { return $this->uid; }
/** * Initialize method for model. */ public function initialize() {
$this->setSource("at_contract"); $this->belongsTo('imid', '\CdInmueble', 'imid', ['alias' => 'CdInmueble']); }
/** * Returns table name mapped in the model. * * @return string */ public function getSource() { return 'at_contract'; }
/** * 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); }
}
|