WGShare.Mobile.Flutter/wgshare/lib/common/models/meeting_room_msg.dart

24 lines
420 B
Dart
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import 'package:json_annotation/json_annotation.dart';
part 'meeting_room_msg.g.dart';
@JsonSerializable()
class MeetingRoomMsg extends Object{
String uid;
String userName;
String message;
// 0别人1自己
int source;
MeetingRoomMsg(this.uid,this.userName,this.message,this.source);
factory MeetingRoomMsg.fromJson(Map<String, dynamic> srcJson) => _$MeetingRoomMsgFromJson(srcJson);
}