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

import Foundation

class ReportPeriod {
  var name:String?
  var period:Int?
//  oracle_id
  var periodId:String?
  var fromDate: String?
  var toDate: String?

  init(json: JSON) {
    self.name = json["name"].stringValue
    self.period = json["period"].intValue
    self.periodId = json["oracle_id"].stringValue
    self.fromDate = json["from_date"].stringValue
    self.toDate = json["to_date"].stringValue
  }
  
}
