<?php
namespace App\Models;
use App\Models\Concerns\BelongsToMerchant;
use Illuminate\Database\Eloquent\Model;
class PayoutAddressAllowlist extends Model {
 use BelongsToMerchant;
 protected $fillable=['public_id','merchant_id','asset_id','network','environment','address','label','status','is_default','available_at','verified_at','metadata','archived_at'];
 protected function casts():array{return ['is_default'=>'boolean','available_at'=>'datetime','verified_at'=>'datetime','metadata'=>'array','archived_at'=>'datetime'];}
 public function asset(){return $this->belongsTo(Asset::class);} public function merchant(){return $this->belongsTo(Merchant::class);} }