feat(programmer): day sheet providers + controller

Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
2026-09-28 14:00:29 +08:00
parent 20e95ffe37
commit cc8d8ab8bf
4 changed files with 741 additions and 0 deletions
@@ -37,6 +37,9 @@ class DaySheetSnapshot {
'rows': rows.map((r) => r.toJson()).toList(),
};
/// Alias for [toJson]; used by the approval RPC payload.
Map<String, dynamic> toMap() => toJson();
factory DaySheetSnapshot.fromJson(Map<String, dynamic> j) {
final rowsList = (j['rows'] as List? ?? [])
.map((r) => DaySheetRow.fromJson(r as Map<String, dynamic>))