import 'package:json_annotation/json_annotation.dart'; part 'comment.g.dart'; @JsonSerializable(explicitToJson: true) class Comment { int? bizType = 0; String? commentImgs = ''; bool? commentImgsFlag = false; int? commentStar = 0; String? commentText = ''; int? descStar = 0; bool? hideFlag = false; int? id = 0; bool? isDelete = false; int? likeNum = 0; int? logisticsStar = 0; int? mid = 0; int? orderProductId = 0; int? parentId = 0; int? productId = 0; bool? sensitiveFlag = false; int? serviceStar = 0; int? storeId = 0; Comment(); factory Comment.fromJson(Map json) => _$CommentFromJson(json); Map toJson() => _$CommentToJson(this); }