Files
featherVoice/QXLive/Mine(音域)/Model/QXUserModel.m
启星 c92b8eb910 1.1.2
2025-10-30 18:30:45 +08:00

82 lines
1.4 KiB
Objective-C

//
// QXUserModel.m
// QXLive
//
// Created by 启星 on 2025/5/19.
//
#import "QXUserModel.h"
@implementation QXUserModel
@end
@implementation QXUserHomeModel
+(NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass{
return @{@"tag_list" : @"QXUserTag"};
}
-(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<NSString *,id> *)modelContainerPropertyGenericClass{
return @{@"top_users" : @"QXUserHomeModel"};
}
@end
@implementation QXRoomUserInfoModel
+ (nullable NSDictionary<NSString *, id> *)modelCustomPropertyMapper{
return @{@"pohoulong" : @"is_room_owner"};
}
+(NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass{
return @{
@"qinmi" : @"QXRelationshipListModel",
@"zhenai" : @"QXRelationshipListModel"
};
}
@end
@implementation QXRelationshipList
+(NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass{
return @{
@"qinmi" : @"QXRelationshipListModel",
@"zhenai" : @"QXRelationshipListModel"
};
}
@end
@implementation QXRelationshipListModel
@end