from rest_framework import serializers
from .models import *


class AccountSerializer(serializers.ModelSerializer):


    class Meta:
        model = Account
        fields = ['user_id', 'balance', 'card_number']

09325a7cd288526b7be795b0d86ffef5d33d5052
<mask token>

<mask token>


class AccountSerializer(serializers.ModelSerializer):


    class Meta:
        model = Account
        fields = ['user_id', 'balance', 'card_number']

from rest_framework import serializers
from .models import *


class AccountSerializer(serializers.ModelSerializer):


    class Meta:
        model = Account
        fields = ['user_id', 'balance', 'card_number']
