diff --git a/lib/models/mood.dart b/lib/models/mood.dart index 9d34051..27a41d0 100644 --- a/lib/models/mood.dart +++ b/lib/models/mood.dart @@ -9,6 +9,7 @@ class Mood implements DatabaseRecord { DateTime get date => _date; int get moodValue => _moodValue; + String get comment => _comment; @override factory Mood.fromDatabase(Map map) { diff --git a/lib/models/relapse.dart b/lib/models/relapse.dart index 1507188..6bb6ea0 100644 --- a/lib/models/relapse.dart +++ b/lib/models/relapse.dart @@ -9,6 +9,7 @@ class Relapse implements DatabaseRecord { String get category => _category; DateTime get date => _date; + String get comment => _comment; @override factory Relapse.fromDatabase(Map map) { diff --git a/lib/models/sleep.dart b/lib/models/sleep.dart index 991de20..e6a0b80 100644 --- a/lib/models/sleep.dart +++ b/lib/models/sleep.dart @@ -13,6 +13,7 @@ class Sleep implements DatabaseRecord { this._wokeUpAt); DateTime get date => _date; + String get comment => _comment; int get sleepQualitiyValue => _sleepQualityValue; TimeOfDay get sleepDuration => _sleptAt.durationBetween(_wokeUpAt);