Files
yinmeng-ios/xplan-ios/Main/Monents/Model/MonentsInteractiveModel.h
2022-08-26 21:38:47 +08:00

66 lines
1.8 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.

//
// MonentsInteractiveModel.h
// xplan-ios
//
// Created by 冯硕 on 2022/5/19.
//
#import <Foundation/Foundation.h>
#import "MonentsInfoModel.h"
#import "XPEnum.h"
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSInteger, MonentsInteractiveActionType) {
///评论
MonentsInteractiveActionType_Comment = 1,
///回复
MonentsInteractiveActionType_Reply,
///点赞
MonentsInteractiveActionType_Like,
///分享
MonentsInteractiveActionType_Share
};
@interface MonentsInteractiveModel : NSObject
///msgType为2时为评论id
@property (nonatomic,assign) NSInteger targetId;
///类型 0纯文本2图片
@property (nonatomic,assign) MonentsContentType type;
///动态内容
@property (nonatomic,copy) NSString *content;
///性别
@property (nonatomic,assign) GenderType gender;
///年龄
@property (nonatomic,assign) NSInteger age;
///动态id
@property (nonatomic,copy) NSString *dynamicId;
///消息id
@property (nonatomic,copy) NSString *msgId;
///用户的uid
@property (nonatomic,assign) NSInteger uid;
///动作类型1-评论,2-回复,3-点赞,4-分享
@property (nonatomic,assign) MonentsInteractiveActionType actionType;
///消息,如"赞了你的动态"
@property (nonatomic,copy) NSString *message;
///类型1-动态2-评论(回复也算评论)
@property (nonatomic,assign) NSInteger msgType;
///昵称
@property (nonatomic,copy) NSString *nick;
///头像
@property (nonatomic,copy) NSString *avatar;
///目标对象uid
@property (nonatomic,copy) NSString *targetUid;
///发布时间
@property (nonatomic,copy) NSString *publishTime;
///动态发布者uid
@property (nonatomic,copy) NSString *dynamicUid;
///话题id
@property (nonatomic,copy) NSString *worldId;
///话题的名称
@property (nonatomic,copy) NSString *worldName;
///动态的图片
@property (nonatomic,strong) MonentsPicInfoModel *dynamicRes;
@end
NS_ASSUME_NONNULL_END