'encrypted', 'recharge_channel_group_ids' => 'array', 'status' => 'integer', ]; protected $appends = ['has_withdrawal_secret']; public function getHasWithdrawalSecretAttribute(): bool { return !empty($this->attributes['withdrawal_secret'] ?? null); } public function rechargeChannel() { return $this->belongsTo(RechargeChannel::class, 'recharge_channel_id'); } }