from rest_framework import serializers

from vbv_lernwelt.completion.models import CircleCompletion


class CircleCompletionSerializer(serializers.ModelSerializer):
    class Meta:
        model = CircleCompletion
        fields = [
            'id', 'created_at', 'updated_at', 'user', 'page_key', 'page_type', 'circle_key',
            'learning_path_key', 'completed', 'json_data',
        ]

