import { EventInMsg } from './EventInMsg' ; export class InTemplateMsgEvent extends EventInMsg { public static EVENT : string = 'TEMPLATESENDJOBFINISH' ; public static EVENT_INTEMPLATEMSG_STATUS_SUCCESS : string = 'success' ; public static EVENT_INTEMPLATEMSG_STATUS_BLOCK : string = 'block' ; public static EVENT_INTEMPLATEMSG_STATUS_FAILED : string = 'failed: system failed' ; private msgId : string ; private status : string ; constructor ( toUserName , fromUserName , createTime , event ) { super ( toUserName , fromUserName , createTime , event ) ; } public get getMsgId ( ) : string { return this . msgId ; } public set setMsgId ( msgId ) { this . msgId = msgId ; } public get getStatus ( ) : string { return this . status ; } public set setStatus ( status ) { this . status = status ; } }