public function save()
 {
     $model = new CharactValue();
     $model->charactId = $this->attrId;
     $model->title = $this->value;
     $model->productId = $this->productId;
     $model->save();
 }
 public function valueGet($attrId)
 {
     $model = CharactValue::find()->lang()->andWhere(['charactId' => $attrId])->one();
     return $model ? $model->title : null;
 }