import { Attr } from 'ts-framework' import { TripDomainResponseDTO } from './trip' export class CreateTripVehicleDTO { @Attr({ type: String, optional: true }) vehicleId?: string @Attr({ type: String, optional: true }) make?: string @Attr({ type: String, optional: true }) model?: string @Attr({ type: String, optional: true }) licensePlate?: string } export class TripVehicleResponseDTO { @Attr({ type: String }) id: string @Attr({ type: String }) licensePlate: string @Attr({ type: String }) make: string @Attr({ type: String }) model: string @Attr({ type: String }) vehicleId: string @Attr({ type: TripDomainResponseDTO }) trip: TripDomainResponseDTO }