# serializers.py
from rest_framework import serializers
from .models import UserProfile
from Device .models import Devices

class UserProfileSerializer(serializers.ModelSerializer):
    class Meta:
        model = UserProfile
        fields = ['user', 'email', 'phone_number', 'company_name']

class DeviceSerializer(serializers.ModelSerializer):
    class Meta:
        model = Devices
        fields = ['pod']
