text: from rest_framework import serializers
  from delivery_order.models import Order, PaymentMethod, Bill
  
  
  class PaymentMethodSerializer(serializers.ModelSerializer):
      class Meta:
          model = PaymentMethod
          fields = "__all__"
  
  
  class OrderSerializer(serializers.ModelSerializer):
      class Meta:
          model = Order
          fields = "__all__"
  
  
  class BillSerializer(serializers.ModelSerializer):
      class Meta:
          model = Bill
          fields = "__all__"
  