class Event { name : string ; imageSource : string ; type : string ; start : number ; end : number ; id : number ; supply : number ; param { String } name param { String } imageSource param { String } type param { Number } start param { Number } end param { Number } id param { Number } supply constructor ( name , imageSource , type , start , end , id = 0 , supply = - 1 ) { this . name = name ; this . imageSource = imageSource ; this . type = type ; this . start = start ; this . end = end ; this . id = id ; this . supply = supply ; } } export default Event ;