<?php
 namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; class ProductFreeDomainTld extends Model { use HasFactory; protected $fillable = [ 'product_id', 'tld_id', 'client_usage_limit', 'is_active', ]; protected $casts = [ 'client_usage_limit' => 'integer', 'is_active' => 'boolean', ]; public function product(): BelongsTo { return $this->belongsTo(Product::class); } public function tld(): BelongsTo { return $this->belongsTo(Tld::class); } } 