from rest_framework import serializers
from .models import Company, User, Product

class CompanySerializer(serializers.ModelSerializer):
    class Meta:
        model = Company
        fields= "__all__"

class UserSerializer(serializers.ModelSerializer):
    class Meta:
        model = User
        fields = "__all__"


class ProductSerializer(serializers.ModelSerializer):
    class Meta:
        model = Product
        fields = "__all__"

