cdts/xdts-ios 3/TreeHole/Code/Features/Bottle/Model/MessageNotification.h

46 lines
1015 B
C
Raw Normal View History

2023-07-27 09:20:00 +08:00
//
// MessageNotification.h
// Youth
//
// Created by ko1o on 2022/1/10.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, MessageNotificationType) {
MessageNotificationSystem = 1, // 系统消息
MessageNotificationFollow = 2, // 关注
MessageNotificationCheer = 3, // 加油
MessageNotificationLearn = 4, // 学习
};
@interface MessageNotification : NSObject
@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) NSString *iconUrl;
//@property (nonatomic, strong) NSString* updat_url;
@property (nonatomic, strong) NSString *content;
@property (nonatomic, copy) NSString *time;
@property (nonatomic, assign) int created_at;
@property (nonatomic, assign) BOOL isSystemNotification;
@property (nonatomic, strong) User *user;
@property (nonatomic, assign) MessageNotificationType type;
@property (nonatomic, strong) NSString *url;
@property (nonatomic, strong) UserOtherInfo *user_v_info;
@end
NS_ASSUME_NONNULL_END