public function beforeSave()
    {
        if ($this->owner->hasAttribute($this->attribute) && !$this->owner->{$this->attribute}) {
            $this->owner->setAttribute($this->attribute, Yii::$app->user->identity->{$this->attribute});
        }
    }