from rest_framework import serializers
from .models import Transactions


class TransactionsSerializer(serializers.ModelSerializer):
    class Meta:
        model = Transactions
        fields = ['ReceiptNo', 'CompletionTime', 'Details', 'PaidIn', 'Withdrawn', 'Balance']
