31 lines
1006 B
Objective-C
31 lines
1006 B
Objective-C
//
|
||
// PushRecordList.h
|
||
//
|
||
// Created by on 2025/1/11
|
||
// Copyright (c) 2025 zL. All rights reserved.
|
||
//
|
||
|
||
#import <Foundation/Foundation.h>
|
||
|
||
@interface PushRecordList : NSObject <NSCoding, NSCopying>
|
||
|
||
@property (nonatomic, assign) NSInteger status;
|
||
@property (nonatomic, strong) NSString *content;
|
||
@property (nonatomic, assign) NSInteger userId;
|
||
@property (nonatomic, strong) NSString *jumpUrl;
|
||
@property (nonatomic, assign) NSInteger receiveTimes;
|
||
@property (nonatomic, assign) NSInteger recordId;
|
||
@property (nonatomic, strong) NSString *image;
|
||
@property (nonatomic, strong) NSString *title;
|
||
@property (nonatomic, assign) NSInteger type; // 1:文字 2:图片 3:链接跳转
|
||
@property (nonatomic, strong) NSString *createTime;
|
||
|
||
@property (nonatomic, assign) BOOL isOpen;
|
||
@property (nonatomic, assign) CGFloat imageHeight;
|
||
|
||
+ (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
|
||
- (instancetype)initWithDictionary:(NSDictionary *)dict;
|
||
- (NSDictionary *)dictionaryRepresentation;
|
||
|
||
@end
|