1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- //
- // 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;
- @property (nonatomic , assign) NSInteger Score;
- /** 富文本 */
- - (NSAttributedString *)attributedText;
- @end
|