25 lines
714 B
Objective-C
25 lines
714 B
Objective-C
//
|
|
// PushRecordData.h
|
|
//
|
|
// Created by on 2025/1/11
|
|
// Copyright (c) 2025 zL. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface PushRecordData : NSObject <NSCoding, NSCopying>
|
|
|
|
@property (nonatomic, assign) NSInteger pages;
|
|
@property (nonatomic, assign) BOOL hasNextPage;
|
|
@property (nonatomic, assign) NSInteger nextPage;
|
|
@property (nonatomic, assign) NSInteger total;
|
|
@property (nonatomic, strong) NSArray *list;
|
|
@property (nonatomic, assign) BOOL hasPreviousPage;
|
|
@property (nonatomic, assign) NSInteger prePage;
|
|
|
|
+ (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
|
|
- (instancetype)initWithDictionary:(NSDictionary *)dict;
|
|
- (NSDictionary *)dictionaryRepresentation;
|
|
|
|
@end
|