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.
 
 
 
 
 
 

35 lines
825 B

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<String, dynamic> json) => _$MemberCommentFromJson(json);
Map<String, dynamic> toJson() => _$MemberCommentToJson(this);
}