from rest_framework import serializers
from  .models import User,Transaction
from rest_framework.renderers import JSONRenderer


class  UserSerializer(serializers.ModelSerializer):
	class Meta :
		model = User 
		fields = '__all__'


class TransactionSerializer(serializers.ModelSerializer):
	class Meta : 
		model = Transaction
		fields ='__all__'
