*/ use HasFactory; protected $fillable = [ 'short_code', 'name', 'native_name', 'is_active' ]; protected $casts = [ 'is_active' => 'boolean' ]; public function platformInstances(): BelongsToMany { return $this->belongsToMany(PlatformInstance::class) ->withPivot(['platform_language_id', 'is_default']) ->withTimestamps(); } public function platformChannels(): HasMany { return $this->hasMany(PlatformChannel::class); } public function feeds(): HasMany { return $this->hasMany(Feed::class); } }