belongsTo(User::class, 'user_id'); } public function account_type() { return $this->belongsTo(CustomerAccountType::class, 'customer_account_type_id'); } public function documents() { return $this->hasMany(CustomerAccountRequestDocument::class, 'request_id'); } }