*/ protected $fillable = [ 'code', ]; /** * Get the account records that have the currency. * * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany<\App\Models\Account, $this> */ public function accounts(): BelongsToMany { return $this->belongsToMany(Account::class) ->withPivot('active') ->withTimestamps(); } }