'int', 'bonus' => 'int', 'deduction' => 'int', 'total_salary' => 'int', 'is_paid' => IsPaid::class, ]; } public function user(): BelongsTo { return $this->belongsTo(User::class); } public function adjustments(): HasMany { return $this->hasMany(PayrollAdjustment::class); } }