"""This module holds the serializers for the ``accounts`` app"""

from django.contrib.auth import get_user_model

from rest_framework import serializers

from ..models import Avatar, MTPUser


class AvatarSerializer(serializers.ModelSerializer):
    """Serializer for the ``mtp.apps.accounts.models.Avatar`` model"""

    class Meta:
        model = Avatar
        fields = ('id', 'img', 'hash')
