import 'package:json_annotation/json_annotation.dart'; part 'member_comment.g.dart'; @JsonSerializable(explicitToJson: true) class MemberComment { String? content = ''; String? createTime = ''; String? createUser = ''; bool? hidden = false; String? id = ''; int? isDelete = 0; int? likes = 0; String? mid = ''; String? parentContent = ''; String? parentId = ''; String? parentMid = ''; String? parentUserAvatarUrl = ''; String? parentUserName = ''; String? relationalId = ''; int? relationalType = 0; String? updateTime = ''; String? updateUser = ''; String? userAvatarUrl = ''; String? username = ''; bool? liked = false; MemberComment(); factory MemberComment.fromJson(Map json) => _$MemberCommentFromJson(json); Map toJson() => _$MemberCommentToJson(this); }