20 lines
530 B
Dart
20 lines
530 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'progress_bean.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class ProgressBean {
|
|
String? TaskId;
|
|
String? CreateTime;
|
|
String? UpdateTime;
|
|
String? ServerUri;
|
|
int? TaskPercent;
|
|
String? TaskResponse;
|
|
|
|
ProgressBean(this.TaskId, this.CreateTime, this.UpdateTime, this.ServerUri, this.TaskPercent, this.TaskResponse);
|
|
|
|
factory ProgressBean.fromJson(Map<String, dynamic> json) => _$ProgressBeanFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$ProgressBeanToJson(this);
|
|
}
|