mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-08 10:07:51 -06:00
16 lines
391 B
Dart
16 lines
391 B
Dart
import 'package:paperless_mobile/core/type/types.dart';
|
|
|
|
class PaperlessStatistics {
|
|
final int documentsTotal;
|
|
final int documentsInInbox;
|
|
|
|
PaperlessStatistics({
|
|
required this.documentsTotal,
|
|
required this.documentsInInbox,
|
|
});
|
|
|
|
PaperlessStatistics.fromJson(JSON json)
|
|
: documentsTotal = json['documents_total'],
|
|
documentsInInbox = json['documents_inbox'];
|
|
}
|