mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-22 01:56:47 +08:00
15
lib/models_new/msg/msgfeed_unread.dart
Normal file
15
lib/models_new/msg/msgfeed_unread.dart
Normal file
@@ -0,0 +1,15 @@
|
||||
import 'package:fixnum/fixnum.dart';
|
||||
|
||||
class MsgFeedUnread {
|
||||
int at = 0;
|
||||
int like = 0;
|
||||
int reply = 0;
|
||||
int sysMsg = 0;
|
||||
|
||||
MsgFeedUnread.fromJson(Map<String, Int64> json) {
|
||||
at = json['at']?.toInt() ?? 0;
|
||||
like = json['like']?.toInt() ?? 0;
|
||||
reply = json['reply']?.toInt() ?? 0;
|
||||
sysMsg = json['sys_msg']?.toInt() ?? 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user