add
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user