import { Attr } from 'ts-framework' import { RiderTripDomain } from './rider-trip' import {UserPhoneNumberDTO} from './user-phones' export class CreateTripRiderDTO { @Attr({ type: String }) riderId: string @Attr({ type: String }) firstName: string @Attr({ type: String }) lastName: string @Attr({ type: String }) countryCode: string @Attr({ type: String }) phoneNumber: string @Attr({ type: String, optional: true }) externalId?: string } export class TripRiderResponseDTO { @Attr({ type: String }) id: string @Attr({ type: String }) firstName: string @Attr({ type: String }) lastName: string @Attr({ type: String }) riderId: string @Attr({ type: String, optional: true }) photo?: string @Attr({ type: RiderTripDomain }) riderTrip: RiderTripDomain }