DepartmentDuty.swift 497 B

1234567891011121314151617181920212223242526
  1. //
  2. // DepartmentDuty.swift
  3. // O2Platform
  4. //
  5. // Created by 刘振兴 on 16/7/8.
  6. // Copyright © 2016年 zoneland. All rights reserved.
  7. //
  8. import Foundation
  9. import ObjectMapper
  10. class DepartmentDuty:Mappable {
  11. var name:String?
  12. var identityList:[String]?
  13. var department:String?
  14. required init?(map: Map) {
  15. }
  16. func mapping(map: Map) {
  17. name <- map["name"]
  18. identityList <- map["identityList"]
  19. department <- map["department"]
  20. }
  21. }