解决model属性与系统重名

.h

 

.m

+ (NSDictionary *)replacedKeyFromPropertyName {

    return @{
             @"detailId" : @"id",
             @"videoformat" : @"video_format",
             @"introduce":@"description",
             @"thumb":@"icon",
            };
}
posted @ 2018-04-03 10:55  chihbun  阅读(399)  评论(0编辑  收藏  举报