AI_Drawing/lib/bean/works_info_bean.dart
2024-06-03 15:30:15 +08:00

62 lines
1.3 KiB
Dart

import 'package:json_annotation/json_annotation.dart';
part 'works_info_bean.g.dart';
@JsonSerializable()
class WorksInfoBean {
int Id;
int DrawId;
int WorksId;
int UserId;
int AppId;
String BossId;
String TaskId;
String TaskResult;
String TaskResultWatermark;
String TaskResultResize;
String Title;
int TemplateId;
int TemplateLabelId;
String CreateTime;
int Status;
String Prompt;
String UserNickName;
String UserIocn;
bool IsMyLike;
int SizeTemplateId;
int LikeNum;
bool IsGalleyWork;
bool IsTalentWork;
bool IsFollow;
WorksInfoBean(
this.Id,
this.DrawId,
this.WorksId,
this.UserId,
this.AppId,
this.BossId,
this.TaskId,
this.TaskResult,
this.TaskResultWatermark,
this.TaskResultResize,
this.Title,
this.TemplateId,
this.TemplateLabelId,
this.CreateTime,
this.Status,
this.Prompt,
this.UserNickName,
this.UserIocn,
this.IsMyLike,
this.SizeTemplateId,
this.LikeNum,
this.IsGalleyWork,
this.IsTalentWork,
this.IsFollow);
factory WorksInfoBean.fromJson(Map<String, dynamic> json) => _$WorksInfoBeanFromJson(json);
Map<String, dynamic> toJson() => _$WorksInfoBeanToJson(this);
}