from rest_framework import serializers
from .models import CustomUser

class UserMeSerializer(serializers.ModelSerializer):
    class Meta:
        model = CustomUser
        fields = ['id', 'email', 'first_name', 'last_name', 'is_serviser']