from rest_framework import serializers

from vbv_lernwelt.core.models import User


class UserSerializer(serializers.ModelSerializer):
    class Meta:
        model = User
        fields = [
            'id', 'first_name', 'last_name', 'email', 'username', 'avatar_url',
        ]
