<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class InvestorPersonalDetails extends Model
{
    use HasFactory;
    protected $table = 'investor_personal_details';
    public $timestamps = true;
    protected $fillable = [
        'investor_details_id',
        // 'foto',
        'npwp_number_inves_personal',
        'job',
        'total_assets',
        'profit_inves_personal',
    ];

    public function investorDetails()
    {
        return $this->belongsTo(InvestorDetails::class);
    }
}
