<?php

namespace App\Models;

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

class kycdetail extends Model
{
    use HasFactory;

    protected $table = 'kyc_details';

    protected $fillable = [
        'website',
        'full_address',
        'building_number',
        'lga',
        'bustop',
        'business_category'
    ];

    protected $casts = [
        'id' => 'string',
    ];

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