# Authors: Gonçalo Marques; Ricardo Vieira
# Latest change: 27/12/2021

from rest_framework import serializers
from car_dealership.models import Car

# car serializer based on its model
class CarSerializer(serializers.ModelSerializer):
    class Meta:
        model = Car
        fields = "__all__"
