from rest_framework import serializers

from ..models import Provider


class ProviderListSerializer(serializers.ModelSerializer):
    class Meta:
        model = Provider
        fields = (
            'id', 'name',
        )
        read_only_fields = fields
