public function getNotify() { if ($this->notify) { return Yii::t('common', 'Yes'); } else { return Yii::t('common', 'No'); } }