"""Comment app common serializers."""
from comment import models
from rest_framework import serializers


class CommentBaseSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Comment
        fields = ('id', 'text', 'mark', 'user', 'object_id', 'content_type')