work in progress database
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user