31 lines
877 B
Dart
31 lines
877 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'art_detail_bean.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class ArtDetailBean {
|
|
int? Id;
|
|
int? UserId;
|
|
String? TaskId;
|
|
int? TaskLevel;
|
|
String? TaskResult;
|
|
String? Title;
|
|
int? TemplateId;
|
|
String? CreateTime;
|
|
int? Status;
|
|
String? Prompt;
|
|
String? UserNickName;
|
|
String? UserIocn;
|
|
bool? IsUserDrawGallery;
|
|
bool? IsMyCollect;
|
|
int? SizeTemplateId;
|
|
int? DrawState;
|
|
|
|
ArtDetailBean(this.Id, this.UserId, this.TaskId, this.TaskLevel, this.TaskResult, this.Title, this.TemplateId, this.CreateTime, this.Status,
|
|
this.Prompt, this.UserNickName, this.UserIocn, this.IsUserDrawGallery, this.IsMyCollect, this.SizeTemplateId, this.DrawState);
|
|
|
|
factory ArtDetailBean.fromJson(Map<String, dynamic> json) => _$ArtDetailBeanFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$ArtDetailBeanToJson(this);
|
|
}
|