from rest_framework import serializers

from incident.models import Incident


class IncidentEditSerializer(serializers.ModelSerializer):

    class Meta:
        model = Incident
        fields = ('status', 'deadline', 'category', 'comment', 'assigned_to')
