20 lines
519 B
Dart
20 lines
519 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'text_to_image_bean.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class TextToImageBean {
|
|
int? SeqId;
|
|
String? TaskId;
|
|
int? TaskLevel;
|
|
int? Status;
|
|
int? TaskPercent;
|
|
String? TaskResult;
|
|
|
|
TextToImageBean(this.SeqId, this.TaskId, this.TaskLevel, this.Status, this.TaskPercent, this.TaskResult);
|
|
|
|
factory TextToImageBean.fromJson(Map<String, dynamic> json) => _$TextToImageBeanFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$TextToImageBeanToJson(this);
|
|
}
|