Aucune description

FKBasicSpecItem.m 563B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // FKSpecItem.m
  3. // FirstLink
  4. //
  5. // Created by jack on 16/1/21.
  6. // Copyright © 2016年 FirstLink. All rights reserved.
  7. //
  8. #import "FKBasicSpecItem.h"
  9. @implementation FKBasicSpecItem
  10. - (instancetype)init{
  11. if (self = [super init]) {
  12. _canUse = YES;
  13. _selected = NO;
  14. }
  15. return self;
  16. }
  17. + (NSDictionary *)mts_mapping{
  18. return @{
  19. @"id": mts_key(itemID),
  20. @"name": mts_key(name),
  21. @"pic_url": mts_key(picUrl),
  22. };
  23. }
  24. + (BOOL)mts_shouldSetUndefinedKeys{
  25. return NO;
  26. }
  27. @end