CompanyDuty.swift 482 B

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