public function getQuotaType() { return $this->hasOne(QuotaType::className(), ['id' => 'id_type']); }