import { Attr } from 'ts-framework' import { RiderTripDomain } from './rider-trip' export class CreateTripLocationDTO { @Attr({ type: String, optional: true }) city?: string @Attr({ type: String }) fullAddress: string @Attr({ type: Number }) latitude: number @Attr({ type: Number }) longitude: number @Attr({ type: String, optional: true }) notes?: string @Attr({ type: String, optional: true }) zipCode?: string @Attr({ type: String, optional: true }) placeName?: string } export class TripLocationResponseDTO { @Attr({ type: String }) id: string @Attr({ type: String }) city: string @Attr({ type: String }) fullAddress: string @Attr({ type: Number }) latitude: number @Attr({ type: Number }) longitude: number @Attr({ type: RiderTripDomain }) riderTrip: RiderTripDomain @Attr({ type: String, optional: true }) zipCode?: string @Attr({ type: String, optional: true }) notes?: string }