from rest_framework import serializers
from .models import Anime


class AnimeSerializer(serializers.ModelSerializer):
    class Meta:
        model = Anime
        fields = ['image', 'title', 'content', 'slug', 'timestamp', 'updated', 'publish']
