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