1234567891011121314151617181920212223242526272829303132333435 |
- /*
- 服务信息模型
- * */
- 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 {
- 'kind': kind,
- 'cycle': '$cycle',
- 'cycleUnit': cycleUnit,
- 'remindDay': '$remindDay',
- 'remark': remark,
- };
- }
- }
|