from rest_framework import serializers
from enroll.models import Student

class StudentSerializer(serializers.ModelSerializer):
    class Meta:
        model=Student 
        fields= ['id','name','score']
        # fields= '__all__'