import { Attr } from 'ts-framework' import { RiderTripDomain } from './rider-trip' export class TripAssistanceResponseDTO { @Attr({ type: String }) id: string @Attr({ type: String }) assistanceNotes: string @Attr({ type: String }) mobilityId: string @Attr({ type: String }) mobilityName: string @Attr({ type: String }) mobilityNotes: string } export class TripAssistanceDTO { @Attr({ type: String, optional: true }) assistanceNotes?: string @Attr({ type: String }) mobilityId: string @Attr({ type: String }) mobilityName: string @Attr({ type: String, optional: true }) mobilityNotes?: string } class RiderTripRelation { @Attr({ type: String }) id: string } export class CreateTripAssistanceDTO { @Attr({ type: String, optional: true }) assistanceNotes?: string @Attr({ type: String }) mobilityId: string @Attr({ type: String }) mobilityName: string @Attr({ type: String, optional: true }) mobilityNotes?: string @Attr({ type: RiderTripRelation }) riderTrip: RiderTripRelation }