JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrhasOne('App\Models\Branch', 'id', 'branch'); } public function types() { return $this->hasOne('App\Models\TrainingType', 'id', 'training_type'); } public function employees() { return $this->hasOne('App\Models\Employee', 'id', 'employee'); } public function trainers() { return $this->hasOne('App\Models\Trainer', 'id', 'trainer'); } public static function status($status) { if($status=='0') { return 'Pending'; } if($status=='1') { return 'Started'; } if($status=="2") { return "Completed"; } if($status=="3") { return "Terminated"; } } }