username); } /** * @param $config */ public function setUsername($value) { $this->username = Crypt::encrypt($value); } /** * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function bank() { return $this->belongsTo(Bank::class); } /** * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function bank_subaccounts() { return $this->hasMany(\App\Models\BankSubaccount::class); } public function getEntityType() { return self::class; } }