説明なし

FKLivesProductItem.m 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // FKLivesProductItem.m
  3. // FirstLink
  4. //
  5. // Created by Lofty on 16/10/13.
  6. // Copyright © 2016年 FirstLink. All rights reserved.
  7. //
  8. #import "FKLivesProductItem.h"
  9. @implementation FKLivesProductItem
  10. + (NSDictionary *)mts_mapping {
  11. return @{
  12. @"brand_id" : mts_key(brandID),
  13. @"brand_name" : mts_key(brandName),
  14. @"brand_pic_url" : mts_key(brandPicUrl),
  15. @"city" : mts_key(cityName),
  16. @"product_id" : mts_key(productID),
  17. @"price_cn" : mts_key(priceCN),
  18. @"product_pic_url" : mts_key(proPicUrl),
  19. @"product_title" : mts_key(proTitle),
  20. @"type" : mts_key(livesType),
  21. @"status" : mts_key(livesStatus),
  22. @"occur_time" : mts_key(occurTime),
  23. @"update_time" : mts_key(updateTime),
  24. @"create_time" : mts_key(createTime),
  25. @"recommend_title" : mts_key(recommendTitle),
  26. @"recommend_desc" : mts_key(recommendDesc),
  27. @"recommend_pic_url" : mts_key(recommendPicURL),
  28. @"recommend_target_url" : mts_key(recommendTargetURL),
  29. @"country.pic_url" : mts_key(countryPicURL),
  30. @"supplier.pic_url" : mts_key(supplierPicURL),
  31. @"supplier.name" : mts_key(supplierName),
  32. };
  33. }
  34. - (kShoppingLivesSource)source {
  35. return (kShoppingLivesSource)(self.livesType);
  36. }
  37. @end