ledger account service basis

This commit is contained in:
Stephan D
2026-01-22 01:00:55 +01:00
parent 62ff96b90e
commit 8e46bc6061
22 changed files with 118 additions and 65 deletions

View File

@@ -1,6 +1,6 @@
import 'package:json_annotation/json_annotation.dart';
import 'package:pshared/data/dto/wallet/money.dart';
import 'package:pshared/data/dto/money.dart';
part 'balance.g.dart';

View File

@@ -1,18 +0,0 @@
import 'package:json_annotation/json_annotation.dart';
part 'money.g.dart';
@JsonSerializable()
class MoneyDTO {
final String amount;
final String currency;
const MoneyDTO({
required this.amount,
required this.currency,
});
factory MoneyDTO.fromJson(Map<String, dynamic> json) => _$MoneyDTOFromJson(json);
Map<String, dynamic> toJson() => _$MoneyDTOToJson(this);
}