O2PersonInfo.swift 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. //
  2. // O2PersonInfo.swift
  3. // O2Platform
  4. //
  5. // Created by FancyLou on 2018/11/21.
  6. // Copyright © 2018 zoneland. All rights reserved.
  7. //
  8. import HandyJSON
  9. class O2PersonInfo: NSObject, DataModel {
  10. @objc var changePasswordTime : String?
  11. @objc var controllerList : [String]?
  12. @objc var createTime : String?
  13. @objc var distinguishedName : String?
  14. @objc var employee : String?
  15. @objc var genderType : String?
  16. @objc var id : String?
  17. @objc var lastLoginAddress : String?
  18. @objc var lastLoginClient : String?
  19. @objc var lastLoginTime : String?
  20. @objc var mail : String?
  21. @objc var mobile : String?
  22. @objc var name : String?
  23. @objc var superior : String?
  24. @objc var signature : String?
  25. @objc var pinyin : String?
  26. @objc var pinyinInitial : String?
  27. @objc var qq : String?
  28. @objc var unique : String?
  29. @objc var updateTime : String?
  30. @objc var weixin : String?
  31. @objc var boardDate : String?
  32. @objc var birthday : String?
  33. // var woGroupList : [AnyObject]?
  34. @objc var woIdentityList : [O2IdentityInfo]?
  35. // var woPersonAttributeList : [AnyObject]?
  36. // var woRoleList : [AnyObject]?
  37. required override init(){}
  38. }
  39. class O2IdentityInfo: NSObject, DataModel {
  40. @objc var createTime : String?
  41. @objc var distinguishedName : String?
  42. @objc var id : String?
  43. @objc var name : String?
  44. @objc var person : String?
  45. @objc var pinyin : String?
  46. @objc var pinyinInitial : String?
  47. @objc var unique : String?
  48. @objc var unit : String?
  49. var unitLevel : Int?
  50. @objc var unitLevelName : String?
  51. @objc var unitName : String?
  52. @objc var updateTime : String?
  53. var orderNumber : Int?
  54. @objc var woUnit : O2OrgUnit?
  55. required override init(){}
  56. }
  57. class O2OrgUnit: NSObject, DataModel {
  58. @objc var createTime : String?
  59. @objc var distinguishedName : String?
  60. @objc var id : String?
  61. var level : Int?
  62. @objc var levelName : String?
  63. @objc var name : String?
  64. var orderNumber : Int?
  65. @objc var pinyin : String?
  66. @objc var pinyinInitial : String?
  67. @objc var superior : String?
  68. @objc var typeList : [String]?
  69. @objc var unique : String?
  70. @objc var updateTime : String?
  71. required override init(){}
  72. }