// // RQExamRuleModel.m // SDJK // // Created by 张嵘 on 2022/6/27. // #import "RQExamRuleModel.h" @implementation RQExamRuleModel + (id)sdjkExamRuleModelWithFMResultSet:(FMResultSet *)resultSet { RQExamRuleModel *examRuleModel = [[RQExamRuleModel alloc] init]; examRuleModel.id = [resultSet intForColumn:@"id"]; examRuleModel.gs = [resultSet stringForColumn:@"gs"]; examRuleModel.kemu = [resultSet intForColumn:@"kemu"]; examRuleModel.chapter_id = [resultSet intForColumn:@"chapter_id"]; examRuleModel.total_count = [resultSet intForColumn:@"total_count"]; examRuleModel.judge_count = [resultSet intForColumn:@"judge_count"]; examRuleModel.choice_count = [resultSet intForColumn:@"choice_count"]; examRuleModel.multiple_choice_count = [resultSet intForColumn:@"multiple_choice_count"]; examRuleModel.difficult_count = [resultSet intForColumn:@"difficult_count"]; examRuleModel.areacode = [resultSet intForColumn:@"areacode"]; examRuleModel.city_id = [resultSet intForColumn:@"city_id"]; return examRuleModel; } @end