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.
32 lines
723 B
32 lines
723 B
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<String, dynamic> json) => _$CommentFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$CommentToJson(this); |
|
|
|
}
|
|
|