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




    export type YidongFinishOrderPayloadBody = {
        userName?: string
        sex?: number
        addr?: string
    }

export class YidongFinishOrderPayload extends Payload {

    getTopic(): string { return 'yidong-finish-order' }
    getVersion(): string { return '1.2' }
    getMajorVersion(): number { return 1 }
    body: YidongFinishOrderPayloadBody
}
export class YidongFinishOrderHandlerPayload extends HandlerPayload {

    body: YidongFinishOrderPayloadBody
}
