public function getIndent() { //一个user有多个indent,所以用hasMany() return $this->hasMany(Indent::className(), ['user_id' => 'id'])->asArray(); }