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.
28 lines
582 B
28 lines
582 B
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
part 'message.g.dart'; |
|
|
|
@JsonSerializable(explicitToJson: true) |
|
class Message { |
|
String? id = ''; |
|
String? createTime = ''; |
|
String? createUser = ''; |
|
String? updateTime = ''; |
|
String? updateUser = ''; |
|
String? mid = ''; |
|
String? title = ''; |
|
String? content = ''; |
|
int? typed = 0; |
|
String? relational = ''; |
|
int? state = 0; |
|
int? isDelete = 0; |
|
bool? followed = false; |
|
|
|
Message(); |
|
|
|
factory Message.fromJson(Map<String, dynamic> json) => _$MessageFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$MessageToJson(this); |
|
|
|
|
|
} |