PersonV2.swift 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. //
  2. // PersonV2.swift
  3. // O2Platform
  4. //
  5. // Created by 程剑 on 2017/7/9.
  6. // Copyright © 2017年 zoneland. All rights reserved.
  7. //
  8. import Foundation
  9. import ObjectMapper
  10. class PersonV2:Mappable {
  11. var changePasswordTime : String?
  12. var controllerList : [String]?
  13. var createTime : String?
  14. var distinguishedName : String?
  15. var employee : String?
  16. var genderType : String?
  17. var id : String?
  18. var lastLoginAddress : String?
  19. var lastLoginClient : String?
  20. var lastLoginTime : String?
  21. var mail : String?
  22. var mobile : String?
  23. var name : String?
  24. var orderNumber : Int?
  25. var superior : String?
  26. var signature : String?
  27. var pinyin : String?
  28. var pinyinInitial : String?
  29. var qq : String?
  30. var unique : String?
  31. var updateTime : String?
  32. var weixin : String?
  33. var officePhone : String?
  34. var boardDate : String?
  35. var birthday : String?
  36. var ownerid: String?
  37. var woGroupList : [AnyObject]?
  38. var woIdentityList : [IdentityV2]?
  39. var woPersonAttributeList : [AnyObject]?
  40. var woRoleList : [AnyObject]?
  41. required init?(map: Map){}
  42. init() {
  43. }
  44. func mapping(map: Map)
  45. {
  46. changePasswordTime <- map["changePasswordTime"]
  47. controllerList <- map["controllerList"]
  48. createTime <- map["createTime"]
  49. distinguishedName <- map["distinguishedName"]
  50. employee <- map["employee"]
  51. genderType <- map["genderType"]
  52. id <- map["id"]
  53. lastLoginAddress <- map["lastLoginAddress"]
  54. lastLoginClient <- map["lastLoginClient"]
  55. lastLoginTime <- map["lastLoginTime"]
  56. mail <- map["mail"]
  57. mobile <- map["mobile"]
  58. name <- map["name"]
  59. orderNumber <- map["orderNumber"]
  60. superior <- map["superior"]
  61. signature <- map["signature"]
  62. pinyin <- map["pinyin"]
  63. pinyinInitial <- map["pinyinInitial"]
  64. qq <- map["qq"]
  65. unique <- map["unique"]
  66. updateTime <- map["updateTime"]
  67. weixin <- map["weixin"]
  68. officePhone <- map["officePhone"]
  69. boardDate <- map["boardDate"]
  70. birthday <- map["birthday"]
  71. woGroupList <- map["woGroupList"]
  72. woIdentityList <- map["woIdentityList"]
  73. woPersonAttributeList <- map["woPersonAttributeList"]
  74. woRoleList <- map["woRoleList"]
  75. }
  76. }