个人信息修改
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// VersionModel.h
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/18.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import <JSONModel/JSONModel.h>
|
||||
|
||||
@interface VersionModel : JSONModel
|
||||
@property (nonatomic,copy) NSString *content;
|
||||
@property (nonatomic,copy) NSString *createTime;
|
||||
@property (nonatomic,copy) NSString *ver_id;
|
||||
@property (nonatomic,copy) NSString *title;
|
||||
@property (nonatomic,copy) NSString *type;
|
||||
@end
|
||||
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// VersionModel.m
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/18.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import "VersionModel.h"
|
||||
|
||||
@implementation VersionModel
|
||||
|
||||
+(JSONKeyMapper *)keyMapper{
|
||||
return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{@"ver_id":@"id"}];
|
||||
}
|
||||
|
||||
+ (BOOL)propertyIsOptional:(NSString *)propertyName{
|
||||
|
||||
return YES;
|
||||
}
|
||||
@end
|
||||
Reference in New Issue
Block a user