示例#1
0
 public function getUsergroups()
 {
     return $this->hasMany(Usersgroups::className(), ['id_user' => 'id']);
 }