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




    export type TestTopicTwoPayloadBody = {
        userName?: string
        userId?: string
        carPlateNum?: string
        isPostPaid?: boolean
        totalAmount?: number
    }

export class TestTopicTwoPayload extends Payload {

    getTopic(): string { return 'test-topic-two' }
    getVersion(): string { return '1.11' }
    getMajorVersion(): number { return 1 }
    body: TestTopicTwoPayloadBody
}
export class TestTopicTwoHandlerPayload extends HandlerPayload {

    body: TestTopicTwoPayloadBody
}
