File manager - Edit - /var/www/payraty/hris-standalone/app/Models/Appraisal.php
Back
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Appraisal extends Model { protected $fillable = [ 'branch', 'employee', 'appraisal_date', 'customer_experience', 'marketing', 'administration', 'professionalism', 'integrity', 'attendance', 'remark', 'deadline', 'created_by', 'created_user_id', ]; public static $technical = [ 'None', 'Beginner', 'Intermediate', 'Advanced', 'Expert / Leader', ]; public static $organizational = [ 'None', 'Beginner', 'Intermediate', 'Advanced', ]; public function branches() { return $this->hasOne('App\Models\Branch', 'id', 'branch'); } public function employees() { return $this->hasOne('App\Models\Employee', 'id', 'employee'); } public function creatorUser() { return $this->belongsTo(\App\Models\User::class, 'created_user_id'); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings