50 lines
880 B
Objective-C
50 lines
880 B
Objective-C
//
|
|
// TFRechargeModel.m
|
|
// TFReader
|
|
//
|
|
// Created by 谢腾飞 on 2020/12/14.
|
|
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
|
//
|
|
|
|
#import "TFRechargeModel.h"
|
|
|
|
@implementation TFRechargeModel
|
|
|
|
+ (NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass
|
|
{
|
|
return @{@"list" : [TFGoodsModel class],
|
|
@"user" : [TFUserInfoManager class]
|
|
};
|
|
}
|
|
|
|
+ (NSDictionary *)modelCustomPropertyMapper
|
|
{
|
|
return @{
|
|
@"list" : @"items",
|
|
@"goldUnit" : @"unit_tag.currencyUnit",
|
|
@"silverUnit" : @"unit_tag.subUnit"
|
|
};
|
|
}
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation TFGoodsModel
|
|
|
|
+ (NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass
|
|
{
|
|
return @{
|
|
@"tag" : [TFTagModel class],
|
|
@"pal_channel" : [TFPayModel class]
|
|
};
|
|
}
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation TFPayModel
|
|
|
|
@end
|