This commit is contained in:
Tito Arrigo
2023-09-29 10:25:34 +02:00
parent 5c68d85b98
commit 51f964833e
6 changed files with 15 additions and 43 deletions

View File

@@ -1,19 +1,8 @@
abstract class BaseEntity{
static String id = 'id';
static String title = 'Title';
static String creationDate = 'CreationDate';
static String lastEditDate = 'LastEditDate';
static String get getId{
return id;
}
static String get getTitle{
return title;
}
static String get getCreationDate{
return creationDate;
}
static String get getLastEditDate{
return lastEditDate;
}
String id = 'id';
String title = 'Title';
String creationDate = 'CreationDate';
String lastEditDate = 'LastEditDate';
BaseEntity();
}

View File

@@ -12,7 +12,7 @@ class Promemoria extends BaseEntity {
static Color color = Color.none;
Promemoria(String description){
Promemoria(String description) : super(){
this.description = description;
}