import 'package:json_annotation/json_annotation.dart'; part 'draw_template_bean.g.dart'; @JsonSerializable() class DrawTemplateBean { int? Id; String? Title; String? ImageSmall; int? Type; double? Charging; DrawTemplateBean(this.Id, this.Title, this.ImageSmall, this.Type, this.Charging); factory DrawTemplateBean.fromJson(Map json) => _$DrawTemplateBeanFromJson(json); Map toJson() => _$DrawTemplateBeanToJson(this); }