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.
38 lines
834 B
38 lines
834 B
|
|
import 'dart:convert'; |
|
|
|
import 'package:huixiang/generated/json/base/json_field.dart'; |
|
import 'package:huixiang/generated/json/comment.g.dart'; |
|
|
|
@JsonSerializable() |
|
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<String, dynamic> json) => $CommentFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => $CommentToJson(this); |
|
|
|
@override |
|
String toString() { |
|
return jsonEncode(this); |
|
} |
|
}
|
|
|