Viewing file: VclientUser.php (13.53 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php namespace Modules\Models; class VclientUser extends \Phalcon\Mvc\Model {
/** * * @var integer * @Column(type="integer", length=11, nullable=false) */ protected $cid;
/** * * @var string * @Column(type="string", length=200, nullable=false) */ protected $pcd;
/** * * @var string * @Column(type="string", length=45, nullable=false) */ protected $name;
/** * * @var string * @Column(type="string", length=45, nullable=false) */ protected $last_name;
/** * * @var string * @Column(type="string", length=45, nullable=true) */ protected $second_name;
/** * * @var string * @Column(type="string", length=75, nullable=true) */ protected $email;
/** * * @var string * @Column(type="string", length=15, nullable=true) */ protected $tel;
/** * * @var string * @Column(type="string", length=1, nullable=false) */ protected $sex;
/** * * @var string * @Column(type="string", nullable=true) */ protected $birthdate;
/** * * @var integer * @Column(type="integer", length=2, nullable=true) */ protected $age;
/** * * @var string * @Column(type="string", length=45, nullable=true) */ protected $working;
/** * * @var string * @Column(type="string", nullable=true) */ protected $status;
/** * * @var string * @Column(type="string", nullable=false) */ protected $date_creation;
/** * * @var integer * @Column(type="integer", length=11, nullable=true) */ protected $otid;
/** * * @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=11, nullable=false) */ protected $uid;
/** * * @var string * @Column(type="string", length=25, nullable=false) */ protected $name_user;
/** * * @var string * @Column(type="string", length=20, nullable=false) */ protected $last_name_user;
/** * * @var string * @Column(type="string", length=20, nullable=true) */ protected $second_name_user;
/** * * @var string * @Column(type="string", nullable=false) */ protected $rol;
/** * * @var string * @Column(type="string", length=100, nullable=false) */ protected $name_school;
/** * 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 pcd * * @param string $pcd * @return $this */ public function setPcd($pcd) { $this->pcd = $pcd;
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 last_name * * @param string $last_name * @return $this */ public function setLastName($last_name) { $this->last_name = $last_name;
return $this; }
/** * Method to set the value of field second_name * * @param string $second_name * @return $this */ public function setSecondName($second_name) { $this->second_name = $second_name;
return $this; }
/** * Method to set the value of field email * * @param string $email * @return $this */ public function setEmail($email) { $this->email = $email;
return $this; }
/** * Method to set the value of field tel * * @param string $tel * @return $this */ public function setTel($tel) { $this->tel = $tel;
return $this; }
/** * Method to set the value of field sex * * @param string $sex * @return $this */ public function setSex($sex) { $this->sex = $sex;
return $this; }
/** * Method to set the value of field birthdate * * @param string $birthdate * @return $this */ public function setBirthdate($birthdate) { $this->birthdate = $birthdate;
return $this; }
/** * Method to set the value of field age * * @param integer $age * @return $this */ public function setAge($age) { $this->age = $age;
return $this; }
/** * Method to set the value of field working * * @param string $working * @return $this */ public function setWorking($working) { $this->working = $working;
return $this; }
/** * Method to set the value of field status * * @param string $status * @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 setDateCreation($date_creation) { $this->date_creation = $date_creation;
return $this; }
/** * 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 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 uid * * @param integer $uid * @return $this */ public function setUid($uid) { $this->uid = $uid;
return $this; }
/** * Method to set the value of field name_user * * @param string $name_user * @return $this */ public function setNameUser($name_user) { $this->name_user = $name_user;
return $this; }
/** * Method to set the value of field last_name_user * * @param string $last_name_user * @return $this */ public function setLastNameUser($last_name_user) { $this->last_name_user = $last_name_user;
return $this; }
/** * Method to set the value of field second_name_user * * @param string $second_name_user * @return $this */ public function setSecondNameUser($second_name_user) { $this->second_name_user = $second_name_user;
return $this; }
/** * Method to set the value of field rol * * @param string $rol * @return $this */ public function setRol($rol) { $this->rol = $rol;
return $this; }
/** * Method to set the value of field name_school * * @param string $name_school * @return $this */ public function setNameSchool($name_school) { $this->name_school = $name_school;
return $this; }
/** * Returns the value of field cid * * @return integer */ public function getCid() { return $this->cid; }
/** * Returns the value of field pcd * * @return string */ public function getPcd() { return $this->pcd; }
/** * Returns the value of field name * * @return string */ public function getName() { return $this->name; }
/** * Returns the value of field last_name * * @return string */ public function getLastName() { return $this->last_name; }
/** * Returns the value of field second_name * * @return string */ public function getSecondName() { return $this->second_name; }
/** * Returns the value of field email * * @return string */ public function getEmail() { return $this->email; }
/** * Returns the value of field tel * * @return string */ public function getTel() { return $this->tel; }
/** * Returns the value of field sex * * @return string */ public function getSex() { return $this->sex; }
/** * Returns the value of field birthdate * * @return string */ public function getBirthdate() { return $this->birthdate; }
/** * Returns the value of field age * * @return integer */ public function getAge() { return $this->age; }
/** * Returns the value of field working * * @return string */ public function getWorking() { return $this->working; }
/** * Returns the value of field status * * @return string */ public function getStatus() { return $this->status; }
/** * Returns the value of field date_creation * * @return string */ public function getDateCreation() { return $this->date_creation; }
/** * Returns the value of field otid * * @return integer */ public function getOtid() { return $this->otid; }
/** * 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 uid * * @return integer */ public function getUid() { return $this->uid; }
/** * Returns the value of field name_user * * @return string */ public function getNameUser() { return $this->name_user; }
/** * Returns the value of field last_name_user * * @return string */ public function getLastNameUser() { return $this->last_name_user; }
/** * Returns the value of field second_name_user * * @return string */ public function getSecondNameUser() { return $this->second_name_user; }
/** * Returns the value of field rol * * @return string */ public function getRol() { return $this->rol; }
/** * Returns the value of field name_school * * @return string */ public function getNameSchool() { return $this->name_school; }
/** * Validations and business logic * * @return boolean */
/** * Returns table name mapped in the model. * * @return string */ public function getSource() { return 'vclient_user'; }
/** * Allows to query a set of records that match the specified conditions * * @param mixed $parameters * @return VclientUser[] */ 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 VclientUser */ public static function findFirst($parameters = null) { return parent::findFirst($parameters); }
}
|