You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

39 lines
992 B

import 'package:huixiang/generated/json/base/json_field.dart';
import 'package:huixiang/generated/json/member_comment.g.dart';
import 'dart:convert';
export 'package:huixiang/generated/json/member_comment.g.dart';
@JsonSerializable()
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<String, dynamic> json) => $MemberCommentFromJson(json);
Map<String, dynamic> toJson() => $MemberCommentToJson(this);
@override
String toString() {
return jsonEncode(this);
}
}