Skip to content

Commit

Permalink
Add placeId to calendaritem
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Apr 25, 2024
1 parent e903212 commit d16b3f9
Show file tree
Hide file tree
Showing 5 changed files with 178 additions and 23 deletions.
3 changes: 3 additions & 0 deletions api/lib/models/event/item/model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class CalendarItem with _$CalendarItem, DescriptiveModel {
@Default('') String name,
@Default('') String description,
@Default('') String location,
@MultihashConverter() Multihash? placeId,
@MultihashConverter() Multihash? eventId,
@Default(EventStatus.confirmed) EventStatus status,
@DateTimeConverter() DateTime? start,
Expand All @@ -30,6 +31,7 @@ class CalendarItem with _$CalendarItem, DescriptiveModel {
@Default('') String name,
@Default('') String description,
@Default('') String location,
@MultihashConverter() Multihash? placeId,
@MultihashConverter() Multihash? eventId,
@Default(EventStatus.confirmed) EventStatus status,
@DateTimeConverter() DateTime? start,
Expand All @@ -47,6 +49,7 @@ class CalendarItem with _$CalendarItem, DescriptiveModel {
@Default('') String name,
@Default('') String description,
@Default('') String location,
@MultihashConverter() Multihash? placeId,
@MultihashConverter() Multihash? eventId,
@Default(EventStatus.confirmed) EventStatus status,
@DateTimeConverter() DateTime? start,
Expand Down
Loading

0 comments on commit d16b3f9

Please sign in to comment.