Viewing file: AtOtherInformation.php (5.02 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php namespace Modules\Models; class AtOtherInformation extends \Phalcon\Mvc\Model {
/** * * @var integer * @Primary * @Identity * @Column(type="integer", length=11, nullable=false) */ protected $otid;
/** * * @var integer * @Column(type="integer", length=11, nullable=false) */ protected $cid;
/** * * @var string * @Column(type="string", length=15, nullable=true) */ protected $tel_house;
/** * * @var string * @Column(type="string", length=15, nullable=true) */ protected $tel_work;
/** * * @var string * @Column(type="string", length=35, nullable=true) */ protected $turn;
/** * * @var string * @Column(type="string", length=10, nullable=true) */ protected $semester;
/** * * @var string * @Column(type="string", length=10, nullable=true) */ protected $cycles;
/** * * @var integer * @Column(type="integer", length=4, nullable=true) */ protected $section;
/** * Method to set the value of field otid * * @param integer $otid * @return $this */ public function setOtid($otid) { $this->otid = $otid;
return $this; }
/** * Method to set the value of field cid * * @param integer $cid * @return $this */ public function setCid($cid) { $this->cid = $cid;
return $this; }
/** * Method to set the value of field tel_house * * @param string $tel_house * @return $this */ public function setTelHouse($tel_house) { $this->tel_house = $tel_house;
return $this; }
/** * Method to set the value of field tel_work * * @param string $tel_work * @return $this */ public function setTelWork($tel_work) { $this->tel_work = $tel_work;
return $this; }
/** * Method to set the value of field turn * * @param string $turn * @return $this */ public function setTurn($turn) { $this->turn = $turn;
return $this; }
/** * Method to set the value of field semester * * @param string $semester * @return $this */ public function setSemester($semester) { $this->semester = $semester;
return $this; }
/** * Method to set the value of field cycles * * @param string $cycles * @return $this */ public function setCycles($cycles) { $this->cycles = $cycles;
return $this; }
/** * Method to set the value of field section * * @param integer $section * @return $this */ public function setSection($section) { $this->section = $section;
return $this; }
/** * Returns the value of field otid * * @return integer */ public function getOtid() { return $this->otid; }
/** * Returns the value of field cid * * @return integer */ public function getCid() { return $this->cid; }
/** * Returns the value of field tel_house * * @return string */ public function getTelHouse() { return $this->tel_house; }
/** * Returns the value of field tel_work * * @return string */ public function getTelWork() { return $this->tel_work; }
/** * Returns the value of field turn * * @return string */ public function getTurn() { return $this->turn; }
/** * Returns the value of field semester * * @return string */ public function getSemester() { return $this->semester; }
/** * Returns the value of field cycles * * @return string */ public function getCycles() { return $this->cycles; }
/** * Returns the value of field section * * @return integer */ public function getSection() { return $this->section; }
/** * Initialize method for model. */ public function initialize() { $this->belongsTo('cid', 'AtClients', 'cid', ['alias' => 'AtClients']); }
/** * Returns table name mapped in the model. * * @return string */ public function getSource() { return 'at_other_information'; }
/** * Allows to query a set of records that match the specified conditions * * @param mixed $parameters * @return AtOtherInformation[] */ 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 AtOtherInformation */ public static function findFirst($parameters = null) { return parent::findFirst($parameters); }
}
|