Viewing file: AtDocumentTenant.php (7.29 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php namespace Modules\Models; class AtDocumentTenant extends \Phalcon\Mvc\Model {
/** * * @var integer * @Primary * @Identity * @Column(column="arcid", type="integer", length=11, nullable=false) */ protected $dotid;
/** * * @var string * @Column(column="name", type="string", length=150, nullable=true) */ protected $power_legal;
/** * * @var string * @Column(column="name", type="string", length=150, nullable=true) */ protected $certificate;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $identification_offcial;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $constancy_company;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $compliance_company;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $voucher;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $letter_rh;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $ref_personal;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $date_creation;
/** * * @var integer * @Column(column="imid", type="integer", length=11, nullable=false) */ protected $tenid;
/** * Method to set the value of field arcid * * @param integer $arcid * @return $this */ public function setDotid($dotid) { $this->dotid = $dotid;
return $this; }
/** * Method to set the value of field name * * @param string $name * @return $this */ public function setCertificate($certificate) { $this->certificate = $certificate;
return $this; }
/** * Method to set the value of field name * * @param string $name * @return $this */ public function setPowerLegal($power_legal) { $this->power_legal = $power_legal;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setIdentificationOffcial($identification_offcial) { $this->identification_offcial = $identification_offcial;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setConstancyCompany($constancy_company) { $this->constancy_company = $constancy_company;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setComplianceCompany($compliance_company) { $this->compliance_company = $compliance_company;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setVoucher($voucher) { $this->voucher = $voucher;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setLetterRh($letter_rh) { $this->letter_rh = $letter_rh;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setRefPersonal($ref_personal) { $this->ref_personal = $ref_personal;
return $this; }
/** * Method to set the value of field imid * * @param string $imid * @return $this */ public function setDateCreation($date_creation) { $this->date_creation = $date_creation;
return $this; }
/** * Method to set the value of field imid * * @param integer $imid * @return $this */ public function setTenid($tenid) { $this->tenid = $tenid; return $this; }
/** * Returns the value of field arcid * * @return integer */ public function getDotid() { return $this->dotid; }
/** * Returns the value of field name * * @return string */ public function getCertificate() { return $this->certificate; }
/** * Returns the value of field name * * @return string */ public function getPowerLegal() { return $this->power_legal; }
/** * Returns the value of field name * * @return string */ public function getIdentificationOffcial() { return $this->identification_offcial; }
/** * Returns the value of field name * * @return string */ public function getConstancyCompany() { return $this->constancy_company; }
/** * Returns the value of field name * * @return string */ public function getComplianceCompany() { return $this->compliance_company; }
/** * Returns the value of field name * * @return string */ public function getVoucher() { return $this->voucher; }
/** * Returns the value of field name * * @return string */ public function getLetterRh() { return $this->letter_rh; }
/** * Returns the value of field date_creation * * @return string */ public function getRefPersonal() { return $this->ref_personal; }
/** * 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 getTenid() { return $this->tenid; }
/** * Initialize method for model. */ public function initialize() {
$this->setSource("at_document_tenant"); $this->belongsTo('imid', '\CdInmueble', 'imid', ['alias' => 'CdInmueble']); }
/** * Returns table name mapped in the model. * * @return string */ public function getSource() { return 'at_document_tenant'; }
/** * 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); }
}
|