mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-15 04:12:30 -06:00
feat: Improve notifications, add donation button, improved asn form field
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'create_document_success_payload.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class CreateDocumentSuccessPayload {
|
||||
final int documentId;
|
||||
|
||||
CreateDocumentSuccessPayload(this.documentId);
|
||||
|
||||
factory CreateDocumentSuccessPayload.fromJson(Map<String, dynamic> json) =>
|
||||
_$CreateDocumentSuccessPayloadFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$CreateDocumentSuccessPayloadToJson(this);
|
||||
}
|
||||
Reference in New Issue
Block a user