public function getBadRecord() { return $this->hasOne(RBadRecord::className(), ['id_item' => 'id']); }