You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
712 B

import 'package:json_annotation/json_annotation.dart';
part 'page_map.g.dart';
@JsonSerializable(explicitToJson: true)
class PageInfo {
int? pageNum;
dynamic current;
int? pageSize;
dynamic size;
dynamic pages;
bool? hasPreviousPage;
bool? hasNextPage;
String? total;
List<Map<String, dynamic>>? list;
List<Map<String, dynamic>>? records;
PageInfo({
this.pageNum,
this.current,
this.pageSize,
this.size,
this.pages,
this.hasPreviousPage,
this.hasNextPage,
this.total,
this.list,
this.records,
});
factory PageInfo.fromJson(Map<String, dynamic> json) => _$PageInfoFromJson(json);
Map<String, dynamic> toJson() => _$PageInfoToJson(this);
}