work in progress database

This commit is contained in:
2023-09-29 11:38:06 +02:00
parent e76adea92b
commit 56b40c9514
6 changed files with 120 additions and 166 deletions

View File

@@ -1,13 +1,13 @@
import 'base_entity.dart';
const String noteTable = 'note';
class Note{
String id;
String id='';
String title;
String creationDate;
String lastModificationDate;
String arrayPromemoria;
String? arrayPromemoria;
String description;
Map<String, dynamic> toMap() {
@@ -30,6 +30,14 @@ class Note{
this.description,
);
Note.newConstructor(
this.title,
this.creationDate,
this.lastModificationDate,
this.arrayPromemoria,
this.description,
);
String getId() {
return id;
}
@@ -62,7 +70,7 @@ class Note{
lastModificationDate = lastModificationDate1;
}
String getArrayPromemoria() {
String? getArrayPromemoria() {
return arrayPromemoria;
}