1234567891011121314151617181920212223242526272829303132 |
- /*
- 服务信息模型
- * */
- class JXServiceModel {
- String _id;
- String kind;
- /*提醒周期*/
- int cycle;
- String cycleUnit;
- /*提醒时间
- -n 提前n天提醒
- n 延后n天提醒
- 0 当天提醒,默认一般当天提醒
- * */
- int remindDay;
- /*备注*/
- String remark;
- Map<String, dynamic> toMap() {
- return {
- '_id': _id,
- 'kind': kind,
- 'cycle': '$cycle',
- 'cycleUnit': cycleUnit,
- 'remindDay': remindDay,
- 'remark': remark,
- };
- }
- }
|