123456789101112131415161718192021222324252627282930313233343536 |
- /*
- 服务信息模型
- * */
- class JXServiceModel {
- /*选中状态*/
- bool isCheck = false;
- /*数据*/
- int id;
- String kind = '';
- /*提醒周期*/
- int cycle = 0;
- String cycleUnit = '';
- /*提醒时间
- -n 提前n天提醒
- n 延后n天提醒
- 0 当天提醒,默认一般当天提醒
- * */
- int remindDay = 0;
- /*备注*/
- String remark = '';
- Map<String, dynamic> toMap() {
- return {
- 'id': id,
- 'kind': kind,
- 'cycle': '$cycle',
- 'cycleUnit': cycleUnit,
- 'remindDay': remindDay,
- 'remark': remark,
- };
- }
- }
|