//
//  DamageSource.swift
//  kt
//
//  Created by Assylkhan Rakhatov on 17.11.16.
//  Copyright © 2016 Alexandr Zalutskiy. All rights reserved.
//

import Foundation

class DamageSource : ListBoxItemProtocol {
  var id: String?
  var damageName: String?
  var comments: String?  
    
    @objc var listItemTitle : String {
        get {
            return self.comments!
        }
    }
    
  init(json: JSON) {
    self.id = json["id"].string
    self.damageName = json["damage_name"].string
    self.comments = json["comments"].string
  }
}
