export class AchievementRule { id ? : string ; name : string ; property : any ; iconPath : string ; displayOrder : number ; constructor ( name , property , displayOrder , iconPath ? , id ? ) { this . name = name ; this . property = property ; this . displayOrder = displayOrder ; if ( iconPath ) { this . iconPath = iconPath ; } if ( id ) { this . id = id ; } } }