package com.mvrent.carrental.web;

import com.mvrent.carrental.model.*;

import java.math.BigDecimal;

/** Inbound payload for creating/updating a car from the modal. */
public record CarForm(
        Long id,
        String make,
        String model,
        String registrationNumber,
        Integer yearOfRegistration,
        String colour,
        CarType type,
        Integer seats,
        Transmission transmission,
        FuelType fuelType,
        String featureTagsCsv,
        BigDecimal hourlyRate,
        BigDecimal pricePerDay,
        BigDecimal monthlyRate,
        CarOwnership ownership,
        Long vendorId,
        BigDecimal commissionPercentOverride,
        Integer unitsTotal,
        CarStatus status,
        String imageUrl,
        Boolean available
) {}
