import { EventInMsg } from './EventInMsg' ; export class InQrCodeEvent extends EventInMsg { public static EVENT_INQRCODE_SUBSCRIBE = 'subscribe' ; public static EVENT_INQRCODE_SCAN = 'SCAN' ; private eventKey : string ; private ticket : string ; constructor ( toUserName , fromUserName , createTime , event ) { super ( toUserName , fromUserName , createTime , event ) ; } public get getEventKey ( ) : string { return this . eventKey ; } public set setEventKey ( eventKey ) { this . eventKey = eventKey ; } public get getTicket ( ) : string { return this . ticket ; } public set setTicket ( ticket ) { this . ticket = ticket ; } }