from rest_framework import serializers
from .models import Vehiculo, Repostaje


class VehiculoSerializer(serializers.ModelSerializer):
    class Meta:
        model = Vehiculo
        fields = '__all__'  # Incluir todos los campos del modelo


class RepostajeSerializer(serializers.ModelSerializer):
    class Meta:
        model = Repostaje
        fields = '__all__'  # Incluir todos los campos del modelo
