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 json) => _$WorksInfoBeanFromJson(json); Map toJson() => _$WorksInfoBeanToJson(this); }