feat:广播
This commit is contained in:
1 parent
5ce8e595b0
commit
903299cd6c
10 files changed
+59
-20
No files matched your search
@@ -79,6 +79,9 @@ class MqttTakeFoodBroadcastMsg {
|
||||
/// 广播id
|
||||
String id;
|
||||
|
||||
/// 订单id
|
||||
String orderId;
|
||||
|
||||
/// 预定标题
|
||||
String title;
|
||||
|
||||
@@ -107,6 +110,7 @@ class MqttTakeFoodBroadcastMsg {
|
||||
required this.username,
|
||||
required this.userMobile,
|
||||
required this.id,
|
||||
required this.orderId,
|
||||
required this.title,
|
||||
required this.content,
|
||||
required this.broadcastMaxCount,
|
||||
|
||||
@@ -55,6 +55,7 @@ MqttTakeFoodBroadcastMsg _$MqttTakeFoodBroadcastMsgFromJson(
|
||||
username: json['username'] as String,
|
||||
userMobile: json['userMobile'] as String,
|
||||
id: json['id'] as String,
|
||||
orderId: json['orderId'] as String,
|
||||
title: json['title'] as String,
|
||||
content: json['content'] as String,
|
||||
broadcastMaxCount: (json['broadcastMaxCount'] as num).toInt(),
|
||||
@@ -72,6 +73,7 @@ Map<String, dynamic> _$MqttTakeFoodBroadcastMsgToJson(
|
||||
'username': instance.username,
|
||||
'userMobile': instance.userMobile,
|
||||
'id': instance.id,
|
||||
'orderId': instance.orderId,
|
||||
'title': instance.title,
|
||||
'content': instance.content,
|
||||
'broadcastMaxCount': instance.broadcastMaxCount,
|
||||
|
||||
Reference in new issue
Block a user