<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class ClientEmployment extends Model
{
    protected $fillable = [
        'user_id',
        'employment_type',
        'company_name',
        'job_title',
        'monthly_income',
        'work_experience',
        'office_city',
    ];

    protected $hidden = [
        'monthly_income',
    ];

    public function user(): BelongsTo
    {
        return $this->belongsTo(User::class);
    }
}