from rest_framework import serializers
from .models import students

class studentsSerializer(serializers.ModelSerializer):
    class Meta:
        model=students
        fields=['firstname','lastname','stud_id']