説明なし

CollectItem.m 792B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // CollectionCommodity.m
  3. // FirstLink
  4. //
  5. // Created by unicode on 14-10-13.
  6. // Copyright (c) 2014年 FirstLink. All rights reserved.
  7. //
  8. #import "CollectItem.h"
  9. @implementation CollectItem
  10. + (NSDictionary*)mts_mapping {
  11. return @{@"id": mts_key(itemID),
  12. @"user_id": mts_key(userID),
  13. @"first_pic": mts_key(photoURL),
  14. @"name": mts_key(name),
  15. @"title": mts_key(title),
  16. @"type": mts_key(type),
  17. @"status": mts_key(status),
  18. @"operate_status": mts_key(operatnStatus),
  19. @"price": mts_key(price),
  20. @"refer_price": mts_key(referPrice),
  21. @"supplier_name": mts_key(source),
  22. };
  23. }
  24. + (BOOL)mts_shouldSetUndefinedKeys {
  25. return NO;
  26. }
  27. @end