import { Payload, PayloadBody, HandlerPayload, Publisher, Consumer, BaseEventHandler } from 'ec-base'
export { Publisher as DidiFinishOrderPublisher }
export { Consumer, BaseEventHandler }




    export type DidiFinishOrderPayloadBody = {
        userName?: string
        sex?: string
        addr?: string
    }

export class DidiFinishOrderPayload extends Payload {

    getTopic(): string { return 'didi-finish-order' }
    getVersion(): string { return '1.1' }
    getMajorVersion(): number { return 1 }
    body: DidiFinishOrderPayloadBody
}
export class DidiFinishOrderHandlerPayload extends HandlerPayload {

    body: DidiFinishOrderPayloadBody
}
