// // FKBrandSubscribeItem.m // FirstLink // // Created by ascii on 16/4/22. // Copyright © 2016年 FirstLink. All rights reserved. // #import "FKBrandSubscribeItem.h" @implementation FKBrandSubscribeItem + (NSDictionary*)mts_mapping { return @{@"id": mts_key(itemID), @"name": mts_key(name), @"pic_url": mts_key(photoURL), @"subscribe": mts_key(status), }; } + (BOOL)mts_shouldSetUndefinedKeys { return NO; } - (BOOL)isSubscribed { if ([self.status isEqualToString:@"1"]) { return YES; } return NO; } @end