from graphene_django import DjangoObjectType

from vbv_lernwelt.duedate.models import DueDate


class DueDateObjectType(DjangoObjectType):
    class Meta:
        model = DueDate
        fields = (
            "id",
            "start",
            "end",
            "manual_override_fields",
            "title",
            "assignment_type_translation_key",
            "date_type_translation_key",
            "subtitle",
            "url",
            "course_session",
            "page",
        )
