"""Defines some serializers to test the likes app."""

from rest_framework import serializers

from mtp.apps.likes.api.serializers import LikeableSerializer

from .models import Comment, Proposition


class PropositionSerializer(LikeableSerializer, serializers.ModelSerializer):
    """Serializer for ``Proposition`` model."""

    class Meta:
        model = Proposition


class CommentSerializer(serializers.ModelSerializer):
    """Serializer for ``Comment`` model."""

    class Meta:
        model = Comment
        fields = '__all__'
