Viewing file: AtFollowUp.php (5.11 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php namespace Modules\Models; class AtFollowUp extends \Phalcon\Mvc\Model {
/** * * @var integer * @Primary * @Identity * @Column(type="integer", length=11, nullable=false) */ protected $fid;
/** * * @var string * @Column(type="string", nullable=false) */ protected $observations;
/** * * @var string * @Column(type="string", nullable=true) */ protected $date_creation;
/** * * @var integer * @Column(type="integer", length=1, nullable=true) */ protected $call;
/** * * @var string * @Column(type="string", nullable=true) */ protected $call_status;
/** * * @var integer * @Column(type="integer", length=11, nullable=false) */ protected $cid;
/** * * @var integer * @Column(type="integer", length=11, nullable=false) */ protected $uid;
/** * * @var string * @Column(type="string", nullable=true) */ protected $date_call;
/** * Method to set the value of field fid * * @param integer $fid * @return $this */ public function setFid($fid) { $this->fid = $fid;
return $this; }
/** * Method to set the value of field observations * * @param string $observations * @return $this */ public function setObservations($observations) { $this->observations = $observations;
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 call * * @param integer $call * @return $this */ public function setCall($call) { $this->call = $call;
return $this; }
/** * Method to set the value of field call_status * * @param string $call_status * @return $this */ public function setCallStatus($call_status) { $this->call_status = $call_status;
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 uid * * @param integer $uid * @return $this */ public function setUid($uid) { $this->uid = $uid;
return $this; }
/** * Method to set the value of field date_call * * @param string $date_call * @return $this */ public function setDateCall($date_call) { $this->date_call = $date_call;
return $this; }
/** * Returns the value of field fid * * @return integer */ public function getFid() { return $this->fid; }
/** * Returns the value of field observations * * @return string */ public function getObservations() { return $this->observations; }
/** * Returns the value of field date_creation * * @return string */ public function getDateCreation() { return $this->date_creation; }
/** * Returns the value of field call * * @return integer */ public function getCall() { return $this->call; }
/** * Returns the value of field call_status * * @return string */ public function getCallStatus() { return $this->call_status; }
/** * Returns the value of field cid * * @return integer */ public function getCid() { return $this->cid; }
/** * Returns the value of field uid * * @return integer */ public function getUid() { return $this->uid; }
/** * Returns the value of field date_call * * @return string */ public function getDateCall() { return $this->date_call; }
/** * Initialize method for model. */ public function initialize() { $this->belongsTo('cid', 'AtClients', 'cid', ['alias' => 'AtClients']); $this->belongsTo('uid', 'AtUser', 'uid', ['alias' => 'AtUser']); }
/** * Returns table name mapped in the model. * * @return string */ public function getSource() { return 'at_follow_up'; }
/** * Allows to query a set of records that match the specified conditions * * @param mixed $parameters * @return AtFollowUp[] */ 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 AtFollowUp */ public static function findFirst($parameters = null) { return parent::findFirst($parameters); }
}
|