'Voluntary', 2=> 'Involuntary', 3=> 'Retirement', ]; public const PROGRESS_STATUS = [ 1 => 'Pending', 2 => 'Approved', 3 => 'Rejected', ]; public function resigner() { return $this->belongsTo(Employee::class, 'employee_id')->withDefault(); } public function approver() { return $this->belongsTo(Employee::class, 'approved_by')->withDefault(); } }