front dev update

This commit is contained in:
Stephan D
2026-01-30 16:54:56 +01:00
parent 51f5b0804a
commit 102c5d3668
31 changed files with 755 additions and 74 deletions

View File

@@ -2,6 +2,7 @@ import 'package:json_annotation/json_annotation.dart';
import 'package:pshared/data/dto/describable.dart';
import 'package:pshared/data/dto/ledger/balance.dart';
import 'package:pshared/data/dto/ledger/role.dart';
import 'package:pshared/data/dto/ledger/status.dart';
import 'package:pshared/data/dto/ledger/type.dart';
@@ -20,7 +21,8 @@ class LedgerAccountDTO {
@JsonKey(fromJson: ledgerAccountStatusFromJson, toJson: ledgerAccountStatusToJson)
final LedgerAccountStatusDTO status;
final bool allowNegative;
final bool isSettlement;
@JsonKey(fromJson: ledgerAccountRoleFromJson, toJson: ledgerAccountRoleToJson)
final LedgerAccountRoleDTO role;
final Map<String, String>? metadata;
final DateTime? createdAt;
final DateTime? updatedAt;
@@ -38,7 +40,7 @@ class LedgerAccountDTO {
required this.currency,
required this.status,
required this.allowNegative,
required this.isSettlement,
required this.role,
this.metadata,
this.createdAt,
this.updatedAt,