first commit

This commit is contained in:
2026-09-21 17:37:53 +08:00
commit 67d4dd5b7c
141 changed files with 8558 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
/// 账单创建/更新请求体
class BillRequest {
final int categoryId;
final double amount;
final String description;
final String billDate; // yyyy-MM-dd
final int type; // 1=支出,2=收入
const BillRequest({
required this.categoryId,
required this.amount,
this.description = '',
required this.billDate,
required this.type,
});
Map<String, dynamic> toJson() => {
'categoryId': categoryId,
'amount': amount,
'description': description,
'billDate': billDate,
'type': type,
};
}