Marking.Client.Moblie/marking_app/lib/common/model/marking/current_review_task.dart

33 lines
966 B
Dart
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* @Author: wangyang 1147192855@qq.com
* @Date: 2022-09-27 14:45:27
* @LastEditors: wangyang 1147192855@qq.com
* @LastEditTime: 2022-09-27 16:13:57
* @FilePath: \marking_app\lib\common\model\marking\current_review_task.dart
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
import 'package:json_annotation/json_annotation.dart';
part 'current_review_task.g.dart';
@JsonSerializable()
class CurrentReviewTask extends Object {
@JsonKey(name: 'taskId')
int? taskId;
// 当前任务状态 true、需要刷新 2、不需要刷新
@JsonKey(name: 'refresh')
bool refresh;
CurrentReviewTask({this.taskId,this.refresh=false});
factory CurrentReviewTask.fromJson(Map<String, dynamic> srcJson) => _$CurrentReviewTaskFromJson(srcJson);
Map<String, dynamic> toJson() => _$CurrentReviewTaskToJson(this);
}