Event Calander

This commit is contained in:
2025-05-09 01:40:56 +08:00
parent ec2233fbaf
commit 50fb25ef12
11 changed files with 508 additions and 74 deletions

View File

@ -51,3 +51,15 @@ abstract class SnFortuneTip with _$SnFortuneTip {
factory SnFortuneTip.fromJson(Map<String, dynamic> json) =>
_$SnFortuneTipFromJson(json);
}
@freezed
abstract class SnEventCalendarEntry with _$SnEventCalendarEntry {
const factory SnEventCalendarEntry({
required DateTime date,
required SnCheckInResult? checkInResult,
required List<dynamic> statuses,
}) = _SnEventCalendarEntry;
factory SnEventCalendarEntry.fromJson(Map<String, dynamic> json) =>
_$SnEventCalendarEntryFromJson(json);
}