from rest_framework import serializers

from aircox import models


__all__ = ("CommentSerializer",)


class CommentSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Comment
        fields = ["page", "nickname", "email", "date", "content"]
