This commit is contained in:
2023-09-28 08:47:50 +02:00
parent 4fdb310e31
commit 9b3634e1cd
2 changed files with 14 additions and 7 deletions

View File

@@ -1,9 +1,11 @@
import 'base_entity.dart'; import 'base_entity.dart';
const String noteTable = 'note';
class Note extends BaseEntity { class Note extends BaseEntity {
static String id = BaseEntity.getId; static String id = BaseEntity.getId;
static String title = BaseEntity.getTitle; static String title = BaseEntity.getTitle;
static String creationDate = BaseEntity.getCreationDate; static String creationDate = BaseEntity.getCreationDate;
static String lastModificationDate = "LastModificationDate"; static String lastModificationDate = BaseEntity.getLastEditDate;
static String description = ""; static String description = '';
} }

View File

@@ -4,15 +4,20 @@ import 'base_entity.dart';
import 'identifiers/enum/color.dart'; import 'identifiers/enum/color.dart';
import 'identifiers/enum/priority.dart'; import 'identifiers/enum/priority.dart';
class Note extends BaseEntity{ const String promemoriaTable = 'promemoria';
class Promemoria extends BaseEntity{
static String id = BaseEntity.getId; static String id = BaseEntity.getId;
static String title = BaseEntity.getTitle; static String title = BaseEntity.getTitle;
static String creationDate = BaseEntity.getCreationDate; static String creationDate = BaseEntity.getCreationDate;
static String lastModificationDate = BaseEntity.getLastEditDate;
static String expirationDate = '';
static String description = '';
static Priority priority = Priority.none;
static Color color = Color.none;
static String expirationDate = 'expirationDate';
static String description = 'description';
Priority priority = Priority.none;
Color color = Color.none;
} }