/** * @return \yii\db\ActiveQuery */ public function getSections() { return $this->hasMany(Usersection::className(), ['usec_user_id' => 'us_id']); }