entity upgrade
This commit is contained in:
@@ -7,5 +7,6 @@ class Note extends BaseEntity {
|
|||||||
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 lastModificationDate = BaseEntity.getLastEditDate;
|
||||||
|
static String arrayPromemoria = '';
|
||||||
static String description = '';
|
static String description = '';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,22 +1,18 @@
|
|||||||
import 'dart:ui';
|
|
||||||
|
|
||||||
import 'base_entity.dart';
|
import 'base_entity.dart';
|
||||||
import 'identifiers/enum/color.dart';
|
import 'identifiers/enum/color.dart';
|
||||||
import 'identifiers/enum/priority.dart';
|
import 'identifiers/enum/priority.dart';
|
||||||
|
|
||||||
const String promemoriaTable = 'promemoria';
|
const String promemoriaTable = 'promemoria';
|
||||||
|
|
||||||
class Promemoria extends BaseEntity{
|
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 lastModificationDate = BaseEntity.getLastEditDate;
|
||||||
static String expirationDate = '';
|
static String expirationDate = '';
|
||||||
|
static String arrayPromemoria = '';
|
||||||
static String description = '';
|
static String description = '';
|
||||||
|
|
||||||
static Priority priority = Priority.none;
|
static Priority priority = Priority.none;
|
||||||
|
|
||||||
static Color color = Color.none;
|
static Color color = Color.none;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user