public function toArray($user_id = null)
{
$array = parent::toArray();
$array['supporter_counter'] = (int) Redis::get('supporter_counter:' . $this->id);
$array['is_supported'] = (int) Redis::zscore('issue_supporters:' . $this->id, $user_id) > 0 ? 1 : 0;
return $array;
}