Files
WebApp/ShenQi/PushRecordList.h
2025-01-11 14:58:16 +08:00

31 lines
1006 B
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.
//
// 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