from rest_framework import serializers
from subscriptions.models import Profile, Contact

class ProfileSerializers(serializers.ModelSerializer):
    class Meta:
        model = Profile
        fields = [
            'id', 'user', 'name', 'created_by'
        ]

class ContactSerializers(serializers.ModelSerializer):
    class Meta:
        model = Contact
        fields = [
            'id', 'name', 'email', 'phone', 'sub', 'descriptions', 'created_by'
        ]