protected function assignPropertiesToModel($attributes = [])
    {
        $model = null;
        $model = self::model();

        foreach ($attributes as $key => $value) {
            $model->{$key} = $value;
        }
    }