import { InMsg } from '../InMsg' ; export abstract class EventInMsg extends InMsg { protected event : string ; constructor ( toUserName , fromUserName , createTime , event ) { super ( toUserName , fromUserName , createTime , 'event' ) ; this . event = event ; } public get getEvent ( ) : string { return this . event ; } public set setEvent ( event ) { this . event = event ; } }