Няма описание

FKProRecommendItem.m 996B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // FKProRecommendItem.m
  3. // FirstLink
  4. //
  5. // Created by jack on 16/8/17.
  6. // Copyright © 2016年 FirstLink. All rights reserved.
  7. //
  8. #import "FKProRecommendItem.h"
  9. @implementation FKProRecommendItem
  10. + (NSDictionary *)mts_mapping{
  11. return @{
  12. @"id": mts_key(itemId),
  13. @"name": mts_key(name),
  14. @"title": mts_key(title),
  15. @"first_pic": mts_key(picUrl),
  16. @"price": mts_key(price),
  17. @"refer_price": mts_key(referPrice),
  18. @"supplier_id": mts_key(supplierId),
  19. @"original_price": mts_key(orginPrice),
  20. @"salable": mts_key(salable),
  21. @"operate_status": mts_key(operateStatus),
  22. @"status": mts_key(status),
  23. };
  24. }
  25. + (BOOL)mts_shouldSetUndefinedKeys{
  26. return NO;
  27. }
  28. //- (BOOL)productOnLine{
  29. // if ([self.status isKindOfClass:[NSString class]] && self.status.intValue == 1) {
  30. // return YES;
  31. // }
  32. // return NO;
  33. //}
  34. @end