123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- //
- // MHTopic.h
- // MHDevelopExample
- //
- // Created by CoderMikeHe on 17/2/8.
- // Copyright © 2017年 CoderMikeHe. All rights reserved.
- // 话题模型(类似于一条说说、微博)
- #import <Foundation/Foundation.h>
- #import "MHComment.h"
- @interface MHTopic : BaseModel
- /** 视频的id */
- @property (nonatomic , copy) NSString *mediabase_id;
- /** 话题id */
- @property (nonatomic , assign) NSInteger Id;
- /** 点赞数 */
- @property (nonatomic , assign) long long LaudCount;
- /** 点赞数string //辅助属性// */
- @property (nonatomic , copy , readonly) NSString * thumbNumsString;
- /** 是否点赞 0 没有点赞 1 是点赞*/
- @property (nonatomic , assign , getter = isThumb) BOOL IsLaud;
- /** 创建时间 */
- @property (nonatomic , copy) NSString *CreatedTime;
- /** 头像 */
- @property (nonatomic , copy) NSString *AvatarUrl;
- /** 话题内容 */
- @property (nonatomic, copy) NSString *Content;
- /** 名字 */
- @property (nonatomic, copy) NSString * FloorCount;
- /** 名字 */
- @property (nonatomic, copy) NSString *Name;
- /** 所有评论 MHComment */
- @property (nonatomic , strong) NSMutableArray<MHComment *> *CommentReplyResults;
- /** 用户ID */
- @property (nonatomic , assign) NSInteger UserId;
- /** 评论总数 */
- @property (nonatomic , assign) NSInteger commentsCount;
- /** 富文本 */
- - (NSAttributedString *)attributedText;
- @end
|