Group.swift 539 B

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