This commit is contained in:
lianxiang
2018-09-23 15:52:02 +08:00
parent 3508cab25e
commit 69522b22fc
13 changed files with 476 additions and 36 deletions
+15
View File
@@ -0,0 +1,15 @@
//
// GIGaFeedKind.h
// GIGA
//
// Created by lianxiang on 2018/9/23.
// Copyright © 2018年 com.giga.ios. All rights reserved.
//
#import <JSONModel/JSONModel.h>
@interface GIGaFeedKind : JSONModel
@property (nonatomic,copy) NSString *feed_id;
@property (nonatomic,copy) NSString *remarks;
@end
+21
View File
@@ -0,0 +1,21 @@
//
// GIGaFeedKind.m
// GIGA
//
// Created by lianxiang on 2018/9/23.
// Copyright © 2018年 com.giga.ios. All rights reserved.
//
#import "GIGaFeedKind.h"
@implementation GIGaFeedKind
+(JSONKeyMapper *)keyMapper{
return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{@"feed_id":@"id"}];
}
+ (BOOL)propertyIsOptional:(NSString *)propertyName{
return YES;
}
@end