from rest_framework import serializers
from .models import Estudante, Encarregado, Endereco, Filiacao, Telefone


class EstudanteSerializer(serializers.ModelSerializer):
    class Meta:
        model = Estudante
        fields = '__all__'
   




class EnderecoSerializer(serializers.ModelSerializer):
    class Meta:
        model = Endereco
        fields = '__all__'
   




class EncarregadoSerializer(serializers.ModelSerializer):
    class Meta:
        model = Encarregado
        fields = '__all__'




class FiliacaoSerializer(serializers.ModelSerializer):
    class Meta:
        model = Filiacao
        fields = '__all__'




class TelefoneSerializer(serializers.ModelSerializer):
    class Meta:
        model = Telefone
        fields = '__all__'

    
    

