public function getVals() { return $this->hasMany(AttrVal::className(), ['attr_id' => 'id']); }
public function getVal() { return $this->hasOne(AttrVal::className(), ['id' => 'av_id']); }