Viewing file: AtSigantureDocs.php (4.26 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php namespace Modules\Models; class AtSigantureDocs extends \Phalcon\Mvc\Model {
/** * * @var integer * @Primary * @Identity * @Column(column="arcid", type="integer", length=11, nullable=false) */ protected $sidid;
/** * * @var string * @Column(column="name", type="string", length=150, nullable=true) */ protected $file;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $title;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $type;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $date_creation;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $crid;
/** * Method to set the value of field arcid * * @param integer $arcid * @return $this */ public function setSidid($sidid) { $this->sidid = $sidid;
return $this; }
/** * Method to set the value of field name * * @param string $name * @return $this */ public function setFile($file) { $this->file = $file;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setTitle($title) { $this->title = $title;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setType($type) { $this->type = $type;
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 setCrid($crid) { $this->crid = $crid;
return $this; }
/** * Returns the value of field arcid * * @return integer */ public function getSidid() { return $this->sidid; }
/** * Returns the value of field name * * @return string */ public function getFile() { return $this->file; }
/** * Returns the value of field name * * @return string */ public function getTitle() { return $this->title; }
/** * Returns the value of field name * * @return string */ public function getType() { return $this->type; }
/** * Returns the value of field name * * @return string */ public function getDateCreation() { return $this->date_creation; }
/** * Returns the value of field name * * @return string */ public function getCrid() { return $this->crid; }
/** * Initialize method for model. */ public function initialize() {
$this->setSource("at_siganture_docs"); $this->belongsTo('imid', '\CdInmueble', 'imid', ['alias' => 'CdInmueble']); }
/** * Returns table name mapped in the model. * * @return string */ public function getSource() { return 'at_siganture_docs'; }
/** * 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); }
}
|