Files
real-e-party-iOS/YuMi/Modules/YMMonents/Model/MomentsInfoModel.h
2025-10-17 14:03:50 +08:00

112 lines
3.4 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// MonentsInfoModel.h
// xplan-ios
//
// Created by 冯硕 on 2022/5/11.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSInteger, MonentsContentType) {
///纯文字的
MonentsContentType_Text = 0,
///图片
MomentsContentType_Picture = 2
};
@class MomentsPicInfoModel;
@interface MomentsInfoModel : PIBaseModel
///类型
@property (nonatomic,assign) MonentsContentType type;
///用户的uid
@property (nonatomic,copy) NSString *uid;
///昵称
@property (nonatomic,copy) NSString *nick;
///身份的类型
@property (nonatomic,assign) NSInteger defUser;
///是否是新用户
@property (nonatomic,assign) BOOL newUser;
///性别 1:男 2:女
@property (nonatomic,assign) NSInteger gender;
///头像
@property (nonatomic,copy) NSString *avatar;
///年龄
@property (nonatomic,assign) int age;
///内容
@property (nonatomic,strong) NSString *content;
///喜欢的次数
@property (nonatomic,copy) NSString *likeCount;
///我是否已经点赞
@property (nonatomic, assign) BOOL isLike;
///评论的次数
@property (nonatomic,copy) NSString *commentCount;
//发布时间
@property (nonatomic,copy) NSString *publishTime;
///等级
@property (nonatomic,strong) NSString *expertLevelPic;
///魅力等级
@property (nonatomic,strong) NSString *charmLevelPic;
///广场是否置顶
@property (nonatomic,assign) BOOL squareTop;
///话题是否置顶
@property (nonatomic,assign) BOOL topicTop;
///VIP信息
@property (nonatomic, strong) NSObject *userVipInfoVO;
///发布的内容
@property (nonatomic,copy) NSArray<MomentsPicInfoModel *> *dynamicResList;
///头饰url地址
@property (nonatomic,copy) NSString *headwearPic;
///头饰url地址
@property (nonatomic,copy) NSString *headwearEffect;
///头饰类型, 1 = svga
@property (nonatomic, assign) NSInteger headwearType;
///是否在直播中
@property (nonatomic,copy) NSString *inRoomUid;
///显示的标签
@property (nonatomic,copy) NSArray<NSString *> *labelList;
///铭牌名称
@property (nonatomic, copy) NSString *nameplateWord;
///铭牌图片
@property (nonatomic, copy) NSString *nameplatePic;
///是否自定义铭牌,
@property(nonatomic,assign) BOOL isCustomWord;
///话题id
@property (nonatomic, assign) long worldId;
///话题名字
@property (nonatomic, copy) NSString *worldName;
///动态的id
@property (nonatomic,copy) NSString *dynamicId;
///审核状态0=审核中1=通过2=拒绝)
@property (nonatomic, assign) NSInteger status;
///情绪颜色本地标注Hex格式如 #FF0000
@property (nonatomic, copy) NSString *emotionColor;
///是否是折叠起来的
@property (nonatomic,assign) BOOL isFold;
///cell的高度
@property (nonatomic,assign) CGFloat rowHeight;
///图片的高度
@property (nonatomic,assign) CGFloat picHeight;
///文本内容的高度
@property (nonatomic,assign) CGFloat contentHeight;
///显示的内容的富文本
@property (nonatomic,strong) NSMutableAttributedString *contentAttribute;
///收起的
@property (nonatomic,strong, nullable) NSMutableAttributedString *foldAttribute;
// 文本行数
@property (nonatomic, assign) NSInteger numberOfText;
@end
@interface MomentsPicInfoModel : PIBaseModel
///图片的地址
@property (nonatomic,copy) NSString * resUrl;
///格式
@property (nonatomic,copy) NSString *format;
///宽度
@property (nonatomic,assign) CGFloat width;
///高度
@property (nonatomic,assign) CGFloat height;
@end
NS_ASSUME_NONNULL_END