Viewing file: AtRepresentatives.php (5.39 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php namespace Modules\Models; class AtRepresentatives extends \Phalcon\Mvc\Model {
/** * * @var integer * @Primary * @Identity * @Column(column="arcid", type="integer", length=11, nullable=false) */ protected $reprid;
/** * * @var string * @Column(column="name", type="string", length=150, nullable=true) */ protected $tel;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $cel;
/** * * @var string * @Column(column="date_creation", type="string", nullable=true) */ protected $email;
/** * * @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 $tenid;
/** * Method to set the value of field arcid * * @param integer $arcid * @return $this */ public function setReprid($reprid) { $this->reprid = $reprid;
return $this; }
/** * Method to set the value of field name * * @param string $name * @return $this */ public function setName($name) { $this->name = $name;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setTel($tel) { $this->tel = $tel;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setCel($cel) { $this->cel = $cel;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setRfc($rfc) { $this->rfc = $rfc;
return $this; }
/** * Method to set the value of field date_creation * * @param string $date_creation * @return $this */ public function setEmail($email) { $this->email = $email;
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 setTenid($tenid) { $this->tenid = $tenid;
return $this; }
/** * Returns the value of field arcid * * @return integer */ public function getReprid() { return $this->reprid; }
/** * Returns the value of field name * * @return string */ public function getName() { return $this->name; }
/** * Returns the value of field name * * @return string */ public function getTel() { return $this->tel; }
/** * Returns the value of field name * * @return string */ public function getCel() { return $this->cel; }
/** * Returns the value of field name * * @return string */ public function getEmail() { return $this->email; }
/** * 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 getTenid() { return $this->tenid; }
/** * Initialize method for model. */ public function initialize() {
$this->setSource("at_representatives"); $this->belongsTo('imid', '\CdInmueble', 'imid', ['alias' => 'CdInmueble']); }
/** * Returns table name mapped in the model. * * @return string */ public function getSource() { return 'at_representatives'; }
/** * 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); }
}
|