25 lines
530 B
Objective-C
25 lines
530 B
Objective-C
//
|
|
// MineDengJi.m
|
|
// Ifish
|
|
//
|
|
// Created by imac on 17/3/2.
|
|
// Copyright © 2017年 lianlian. All rights reserved.
|
|
//
|
|
|
|
#import "MineDengJi.h"
|
|
|
|
@implementation MineDengJi
|
|
- (instancetype)initWithDictionary:(NSDictionary *)dictionary
|
|
{
|
|
if (self = [super init]) {
|
|
_levelCode = dictionary[@"gradeNum"];
|
|
_levelName = dictionary[@"gradeName"];
|
|
_maxValue = dictionary[@"maxValue"];
|
|
_minValue = dictionary[@"minValue"];
|
|
_remark = dictionary[@"gradeRemark"];
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|