diff --git a/lib/model/node_model.dart b/lib/model/node_model.dart index c68fa51..591937c 100644 --- a/lib/model/node_model.dart +++ b/lib/model/node_model.dart @@ -2,7 +2,7 @@ import 'package:equatable/equatable.dart'; /// create by 张风捷特烈 on 2020-03-04 /// contact me by email 1981462002@qq.com -/// 说明: +/// 说明: 详情页节点-展示-数据模型 class NodeModel extends Equatable { diff --git a/lib/model/widget_model.dart b/lib/model/widget_model.dart index 8e604fc..16c36a0 100644 --- a/lib/model/widget_model.dart +++ b/lib/model/widget_model.dart @@ -5,6 +5,11 @@ import 'package:flutter_unit/app/enums.dart'; import 'package:flutter_unit/app/res/cons.dart'; import 'package:flutter_unit/storage/po/widget_po.dart'; +/// create by 张风捷特烈 on 2020-03-04 +/// contact me by email 1981462002@qq.com +/// 说明: 组件信息-展示-数据模型 +/// + enum WidgetType { singe_show, //单一展示型 0 structure, //结构型 1 diff --git a/lib/storage/po/node_po.dart b/lib/storage/po/node_po.dart index 1d5a750..56db220 100644 --- a/lib/storage/po/node_po.dart +++ b/lib/storage/po/node_po.dart @@ -1,6 +1,8 @@ -//persistent object 持久层对象, -// 用于与数据库中记录对用的对象 +/// create by 张风捷特烈 on 2020-03-04 +/// contact me by email 1981462002@qq.com +/// 说明: 详情页节点-数据库-数据模型 +/// class NodePo { final int id; final int widgetId; diff --git a/lib/storage/po/widget_po.dart b/lib/storage/po/widget_po.dart index 507e0fe..508bbcc 100644 --- a/lib/storage/po/widget_po.dart +++ b/lib/storage/po/widget_po.dart @@ -1,6 +1,8 @@ -//persistent object 持久层对象, -// 用于与数据库中记录对用的对象 +/// create by 张风捷特烈 on 2020-03-04 +/// contact me by email 1981462002@qq.com +/// 说明: 组件信息-数据库-数据模型 +/// import 'package:equatable/equatable.dart'; class WidgetPo extends Equatable {