from rest_framework import serializers

from webservice_running.models import FavoriteContacts


class FavoriteContactsSerializer(serializers.ModelSerializer):
    class Meta:
        model = FavoriteContacts
        fields = [
            'full_name',
            'phone_number',
            'id'
        ]
