<?php

namespace App\Models;

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

class KycThirdpartyReceipts extends Model
{
    use HasFactory;

    protected $table = 'kyc_thirdparty_receipts';

    protected $fillable = [
        'kyc_third_party_id',
        'link',
        'type',
    ];
    
    // protected $casts = [
    //     'number_of_sign' => 'integer',
    //     'sign_to_remove' => 'integer',
    //     'sign_to_add' => 'integer',
    //     'rate' => 'float',
    //     'product_on_sign' => 'boolean',
    //     'previous_rate' => 'float'
    // ];

    public function  kycThirdParty() {
        return $this->belongsTo(KycThirdParty::class);
    }
}
