// // QXUserModel.m // QXLive // // Created by 启星 on 2025/5/19. // #import "QXUserModel.h" @implementation QXUserModel @end @implementation QXUserHomeModel +(NSDictionary *)modelContainerPropertyGenericClass{ return @{ @"tag_list" : @"QXUserTag", @"cp_info": @"QXUserCpInfoModel" }; } -(instancetype)copyModel{ QXUserHomeModel *copy = [[QXUserHomeModel alloc] init]; copy.user_id = self.user_id; copy.user_code = self.user_code; copy.avatar = self.avatar; copy.sex = self.sex; copy.dress = self.dress; copy.nickname = self.nickname; return copy; } @end @implementation QXUserTag @end @implementation QXUserGiftWallModel +(NSDictionary *)modelContainerPropertyGenericClass{ return @{@"top_users" : @"QXUserHomeModel"}; } @end @implementation QXRoomUserInfoModel + (nullable NSDictionary *)modelCustomPropertyMapper{ return @{@"pohoulong" : @"is_room_owner"}; } +(NSDictionary *)modelContainerPropertyGenericClass{ return @{ // @"qinmi" : @"QXRelationshipListModel", // @"zhenai" : @"QXRelationshipListModel" @"cp_info": @"QXUserCpInfoModel" }; } @end @implementation QXRelationshipList +(NSDictionary *)modelContainerPropertyGenericClass{ return @{ @"qinmi" : @"QXRelationshipListModel", @"zhenai" : @"QXRelationshipListModel" }; } @end @implementation QXRelationshipListModel @end @implementation QXUserCpInfoModel +(NSDictionary *)modelContainerPropertyGenericClass{ return @{ // @"qinmi" : @"QXRelationshipListModel", // @"zhenai" : @"QXRelationshipListModel" @"user_info1": @"QXUserModel", @"user_info2": @"QXUserModel", }; } @end