import 'package:json_annotation/json_annotation.dart'; part 'works_detail_bean.g.dart'; @JsonSerializable() class WorksDetailBean { int? DrawId; int? Id; int? UserId; int? AppId; String? TaskId; int? TaskLevel; String? TaskResult; String? TaskResultWatermark; String? TaskResultResize; String? Title; int? TemplateId; int? TemplateLabelId; int? FollowDrawId; String? CreateTime; int? Status; String? Prompt; String? UserNickName; String? UserIocn; bool? IsUserDrawGallery; bool? IsMyCollect; int? SizeTemplateId; int? DrawState; int? LikeNum; bool? IsMyLike; bool? IsFollow; bool? IsTalentWork; bool? IsCurrentImgDetails; int? ConsumeCurrency; String? DrawLabel; WorksDetailBean( this.DrawId, this.Id, this.UserId, this.AppId, this.TaskId, this.TaskLevel, this.TaskResult, this.TaskResultWatermark, this.TaskResultResize, this.Title, this.TemplateId, this.TemplateLabelId, this.FollowDrawId, this.CreateTime, this.Status, this.Prompt, this.UserNickName, this.UserIocn, this.IsUserDrawGallery, this.IsMyCollect, this.SizeTemplateId, this.DrawState, this.LikeNum, this.IsMyLike, this.IsFollow, this.IsTalentWork, this.IsCurrentImgDetails, this.ConsumeCurrency, this.DrawLabel); factory WorksDetailBean.fromJson(Map json) => _$WorksDetailBeanFromJson(json); Map toJson() => _$WorksDetailBeanToJson(this); }