""" User serializers """

# Django REST Framework
from rest_framework import serializers

# Models
from valoracion.users.models import User


class UserModelSerializer(serializers.ModelSerializer):
    """ User model serializer """

    email = serializers.EmailField(required=True)

    username = serializers.CharField()

    first_name = serializers.CharField()

    last_name = serializers.CharField()

    phone_number = serializers.CharField(max_length=17)

    class Meta:
        """ Meta Class """

        model = User
        fields = (
            'id', 'email', 'username', 'first_name', 'last_name', 'phone_number'
        )
54332ff9eed2cd36b601ce0409faf64be849f64f
<mask token>

<mask token>


class UserModelSerializer(serializers.ModelSerializer):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>


    class Meta:
        """ Meta Class """
        model = User
        fields = ('id', 'email', 'username', 'first_name', 'last_name',
            'phone_number')

<mask token>


class UserModelSerializer(serializers.ModelSerializer):
    """ User model serializer """
    email = serializers.EmailField(required=True)
    username = serializers.CharField()
    first_name = serializers.CharField()
    last_name = serializers.CharField()
    phone_number = serializers.CharField(max_length=17)


    class Meta:
        """ Meta Class """
        model = User
        fields = ('id', 'email', 'username', 'first_name', 'last_name',
            'phone_number')

<mask token>
from rest_framework import serializers
from valoracion.users.models import User


class UserModelSerializer(serializers.ModelSerializer):
    """ User model serializer """
    email = serializers.EmailField(required=True)
    username = serializers.CharField()
    first_name = serializers.CharField()
    last_name = serializers.CharField()
    phone_number = serializers.CharField(max_length=17)


    class Meta:
        """ Meta Class """
        model = User
        fields = ('id', 'email', 'username', 'first_name', 'last_name',
            'phone_number')

""" User serializers """

# Django REST Framework
from rest_framework import serializers

# Models
from valoracion.users.models import User


class UserModelSerializer(serializers.ModelSerializer):
    """ User model serializer """

    email = serializers.EmailField(required=True)

    username = serializers.CharField()

    first_name = serializers.CharField()

    last_name = serializers.CharField()

    phone_number = serializers.CharField(max_length=17)

    class Meta:
        """ Meta Class """

        model = User
        fields = (
            'id', 'email', 'username', 'first_name', 'last_name', 'phone_number'
        )