File manager - Edit - /var/www/payraty/hris-standalone/app/Models/SaturationDeduction.php
Back
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class SaturationDeduction extends Model { protected $fillable = [ 'employee_id', 'deduction_option', 'title', 'amount', 'created_by', ]; public function employee() { return $this->hasOne('App\Models\Employee', 'id', 'employee_id')->first(); } public function deduction_option() { return $this->hasOne('App\Models\DeductionOption', 'id', 'deduction_option')->first(); } public static $saturationDeductiontype = [ 'fixed'=>'Fixed', 'percentage'=> 'Percentage', ]; }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings