entity
This commit is contained in:
@@ -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 = '';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user