from .models import *
from rest_framework import serializers




class ProfileSerializer(serializers.ModelSerializer):
    class Meta:
        model = User
        fields = ['first_name', 'last_name', 'email', 'profile_photo', 'phone']
        read_only_fields = ("phone",)
