# Path: apps/contacts/models.py
# class BaseContact(models.Model):
#     class Meta:
# class Skype(BaseContact):
#     class Meta:
# class Email(BaseContact):
#     class Meta:
# class PhoneNumber(BaseContact):
#     class Meta:
# class GitAccount(BaseContact):
#     class Meta:
#     CONTACT_EXTRA_DATA = ('skype', _('Skype accounts'))
#     CONTACT_EXTRA_DATA = ('email', _('Emails'))
#     CONTACT_EXTRA_DATA = ('phone_number', _('Phone numbers'))
#     CONTACT_EXTRA_DATA = ('git', _('Git accounts'))


from rest_framework import serializers
from apps.contacts import models



class EmailSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Email
        fields = '__all__'


class PhoneNumberSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.PhoneNumber
        fields = '__all__'


class SkypeSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Skype
        fields = '__all__'


class GitAccountSerializer(serializers.ModelSerializer):
    class Meta:

# Path: apps/contacts/models.py
# class BaseContact(models.Model):
#     class Meta:
# class Skype(BaseContact):
#     class Meta:
# class Email(BaseContact):
#     class Meta:
# class PhoneNumber(BaseContact):
#     class Meta:
# class GitAccount(BaseContact):
#     class Meta:
#     CONTACT_EXTRA_DATA = ('skype', _('Skype accounts'))
#     CONTACT_EXTRA_DATA = ('email', _('Emails'))
#     CONTACT_EXTRA_DATA = ('phone_number', _('Phone numbers'))
#     CONTACT_EXTRA_DATA = ('git', _('Git accounts'))


# Path: apps/contacts/schema/serializers.py
from rest_framework import serializers
from apps.contacts import models




class EmailSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Email
        fields = '__all__'


class PhoneNumberSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.PhoneNumber
        fields = '__all__'


class SkypeSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Skype
        fields = '__all__'


class GitAccountSerializer(serializers.ModelSerializer):
    class Meta:

        model = models.GitAccount