Initial Commit: Duty Schedule and Attendance Logbook

This commit is contained in:
2026-03-07 10:16:28 +08:00
parent 73dc735cce
commit c6f536edeb
24 changed files with 3165 additions and 282 deletions
+19
View File
@@ -81,3 +81,22 @@ class AppSetting {
);
}
}
class RamadanConfig {
RamadanConfig({required this.enabled, required this.autoDetect});
final bool enabled;
final bool autoDetect;
factory RamadanConfig.fromJson(Map<String, dynamic> json) {
return RamadanConfig(
enabled: json['enabled'] as bool? ?? false,
autoDetect: json['auto_detect'] as bool? ?? true,
);
}
Map<String, dynamic> toJson() => {
'enabled': enabled,
'auto_detect': autoDetect,
};
}