mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-27 12:36:27 +08:00
52
lib/models_new/msg/msg_like/content.dart
Normal file
52
lib/models_new/msg/msg_like/content.dart
Normal file
@@ -0,0 +1,52 @@
|
||||
class MsgLikeContent {
|
||||
int? itemId;
|
||||
int? pid;
|
||||
String? type;
|
||||
String? business;
|
||||
int? businessId;
|
||||
int? replyBusinessId;
|
||||
int? likeBusinessId;
|
||||
String? title;
|
||||
String? desc;
|
||||
String? image;
|
||||
String? uri;
|
||||
String? detailName;
|
||||
String? nativeUri;
|
||||
int? ctime;
|
||||
|
||||
MsgLikeContent({
|
||||
this.itemId,
|
||||
this.pid,
|
||||
this.type,
|
||||
this.business,
|
||||
this.businessId,
|
||||
this.replyBusinessId,
|
||||
this.likeBusinessId,
|
||||
this.title,
|
||||
this.desc,
|
||||
this.image,
|
||||
this.uri,
|
||||
this.detailName,
|
||||
this.nativeUri,
|
||||
this.ctime,
|
||||
});
|
||||
|
||||
factory MsgLikeContent.fromJson(Map<String, dynamic> json) {
|
||||
return MsgLikeContent(
|
||||
itemId: json['item_id'] as int?,
|
||||
pid: json['pid'] as int?,
|
||||
type: json['type'] as String?,
|
||||
business: json['business'] as String?,
|
||||
businessId: json['business_id'] as int?,
|
||||
replyBusinessId: json['reply_business_id'] as int?,
|
||||
likeBusinessId: json['like_business_id'] as int?,
|
||||
title: json['title'] as String?,
|
||||
desc: json['desc'] as String?,
|
||||
image: json['image'] as String?,
|
||||
uri: json['uri'] as String?,
|
||||
detailName: json['detail_name'] as String?,
|
||||
nativeUri: json['native_uri'] as String?,
|
||||
ctime: json['ctime'] as int?,
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user