from rest_framework import serializers
from .models import Order, Counter, OrderUnit


class OderSerializer(serializers.ModelSerializer):


    class Meta:
        model = Order
        fields = '__all__'


class OderUnitSerializer(serializers.ModelSerializer):


    class Meta:
        model = OrderUnit
        fields = '__all__'


class CounterSerializer(serializers.ModelSerializer):


    class Meta:
        model = Counter
        fields = '__all__'

5bc2b33e1de18ee8d2df98fc8d09804b9a87d9c2
<mask token>

<mask token>


class OderUnitSerializer(serializers.ModelSerializer):


    class Meta:
        model = OrderUnit
        fields = '__all__'


class CounterSerializer(serializers.ModelSerializer):


    class Meta:
        model = Counter
        fields = '__all__'

<mask token>


class OderSerializer(serializers.ModelSerializer):


    class Meta:
        model = Order
        fields = '__all__'


class OderUnitSerializer(serializers.ModelSerializer):


    class Meta:
        model = OrderUnit
        fields = '__all__'


class CounterSerializer(serializers.ModelSerializer):


    class Meta:
        model = Counter
        fields = '__all__'

from rest_framework import serializers
from .models import Order, Counter, OrderUnit


class OderSerializer(serializers.ModelSerializer):


    class Meta:
        model = Order
        fields = '__all__'


class OderUnitSerializer(serializers.ModelSerializer):


    class Meta:
        model = OrderUnit
        fields = '__all__'


class CounterSerializer(serializers.ModelSerializer):


    class Meta:
        model = Counter
        fields = '__all__'
