from rest_framework import serializers

from vbv_lernwelt.assignment.models import AssignmentCompletion


class AssignmentCompletionSerializer(serializers.ModelSerializer):
    class Meta:
        model = AssignmentCompletion
        fields = [
            "id",
            "created_at",
            "updated_at",
            "submitted_at",
            "evaluation_submitted_at",
            "assignment_user",
            "assignment",
            "course_session",
            "completion_status",
            "completion_data",
            "evaluation_user",
            "additional_json_data",
            "evaluation_grade",
            "evaluation_points",
        ]
