from rest_framework import serializers
from .models import Provider, ServiceArea


class ProviderSerializer(serializers.ModelSerializer):


    class Meta:
        model = Provider
        fields = '__all__'


class ServiceAreaSerializer(serializers.ModelSerializer):


    class Meta:
        model = ServiceArea
        fields = '__all__'


class QuerySerializer(serializers.ModelSerializer):


    class Meta:
        model = ServiceArea
        fields = ['provider', 'name', 'price']

1d24dc65a92001f10e4970f70879727dd0986883
<mask token>


class QuerySerializer(serializers.ModelSerializer):


    class Meta:
        model = ServiceArea
        fields = ['provider', 'name', 'price']

<mask token>


class ServiceAreaSerializer(serializers.ModelSerializer):


    class Meta:
        model = ServiceArea
        fields = '__all__'


class QuerySerializer(serializers.ModelSerializer):


    class Meta:
        model = ServiceArea
        fields = ['provider', 'name', 'price']

<mask token>


class ProviderSerializer(serializers.ModelSerializer):


    class Meta:
        model = Provider
        fields = '__all__'


class ServiceAreaSerializer(serializers.ModelSerializer):


    class Meta:
        model = ServiceArea
        fields = '__all__'


class QuerySerializer(serializers.ModelSerializer):


    class Meta:
        model = ServiceArea
        fields = ['provider', 'name', 'price']

from rest_framework import serializers
from .models import Provider, ServiceArea


class ProviderSerializer(serializers.ModelSerializer):


    class Meta:
        model = Provider
        fields = '__all__'


class ServiceAreaSerializer(serializers.ModelSerializer):


    class Meta:
        model = ServiceArea
        fields = '__all__'


class QuerySerializer(serializers.ModelSerializer):


    class Meta:
        model = ServiceArea
        fields = ['provider', 'name', 'price']
