OpenHarmony 与 Flutter 的完美融合:打造现代化个人财务管理应用(更新:快速标签功能)(1.19.0版本)
·
/// OpenHarmony 交易记录模型
class Transaction {
final String id;
final String title;
final double amount;
final DateTime date;
final TransactionType type;
final String category;
final String? note;
final List tags; // 新增:交易标签列表
Transaction({
required this.id,
required this.title,
required this.amount,
required this.date,
required this.type,
required this.category,
this.note,
this.tags = const [], // 默认为空列表
});
}
欢迎加入开源鸿蒙跨平台社区:https://openharmonycrossplatform.csdn.net
更多推荐


所有评论(0)