Implemented ledger provider

This commit is contained in:
Stephan D
2026-01-22 18:56:12 +01:00
parent 1b59823105
commit 7ae32cac55
8 changed files with 300 additions and 35 deletions

View File

@@ -0,0 +1,16 @@
import 'package:json_annotation/json_annotation.dart';
import 'package:pshared/data/dto/ledger/balance.dart';
part 'balance.g.dart';
@JsonSerializable(explicitToJson: true)
class LedgerBalanceResponse {
final LedgerBalanceDTO balance;
const LedgerBalanceResponse({required this.balance});
factory LedgerBalanceResponse.fromJson(Map<String, dynamic> json) => _$LedgerBalanceResponseFromJson(json);
Map<String, dynamic> toJson() => _$LedgerBalanceResponseToJson(this);
}