YYModel
作者:
Alan龙马 | 来源:发表于
2018-10-22 15:47 被阅读12次-------字段更换
+ (NSDictionary *)modelCustomPropertyMapper
{
return @{
@"typeID" : @"typeid"
};
}
-------
// 返回容器类中的所需要存放的数据类型 (以 Class 或 Class Name 的形式)。
+ (NSDictionary *)modelContainerPropertyGenericClass {
return @{
@"userlabel" : [CustomUserLabelModel class],
@"consultationdoctor" : [DoctorModel class]
};
}
[UserModel yy_modelWithDictionary:dic];
NSArray *modelArray = [NSArray yy_modelArrayWithClass:[MyCustomerModel class] json:listArr];
本文标题:YYModel
本文链接:https://www.haomeiwen.com/subject/qtygzftx.html
网友评论