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.
64 lines
1.6 KiB
64 lines
1.6 KiB
/// id : "1420215467561189376" |
|
/// createTime : "2021-07-28 10:58:26" |
|
/// createUser : "0" |
|
/// updateTime : "2021-07-28 10:58:29" |
|
/// updateUser : "0" |
|
/// mid : "1406879717390286848" |
|
/// title : "充值成功" |
|
/// content : "你于2021-07-28 10:52:02充值0.01元,当前余额:0.08元。" |
|
/// typed : 3 |
|
/// relational : "" |
|
/// state : 1 |
|
/// isDelete : 0 |
|
|
|
class Message { |
|
|
|
String? id; |
|
String? createTime; |
|
String? createUser; |
|
String? updateTime; |
|
String? updateUser; |
|
String? mid; |
|
String? title; |
|
String? content; |
|
int? typed; |
|
String? relational; |
|
int? state; |
|
int? isDelete; |
|
|
|
|
|
Message(); |
|
|
|
Message.fromJson(dynamic json) { |
|
this.id = json["id"]; |
|
this.createTime = json["createTime"]; |
|
this.createUser = json["createUser"]; |
|
this.updateTime = json["updateTime"]; |
|
this.updateUser = json["updateUser"]; |
|
this.mid = json["mid"]; |
|
this.title = json["title"]; |
|
this.content = json["content"]; |
|
this.typed = json["typed"]; |
|
this.relational = json["relational"]; |
|
this.state = json["state"]; |
|
this.isDelete = json["isDelete"]; |
|
} |
|
|
|
Map<String, dynamic> toJson() { |
|
var map = <String, dynamic>{}; |
|
map["id"] = this.id; |
|
map["createTime"] = this.createTime; |
|
map["createUser"] = this.createUser; |
|
map["updateTime"] = this.updateTime; |
|
map["updateUser"] = this.updateUser; |
|
map["mid"] = this.mid; |
|
map["title"] = this.title; |
|
map["content"] = this.content; |
|
map["typed"] = this.typed; |
|
map["relational"] = this.relational; |
|
map["state"] = this.state; |
|
map["isDelete"] = this.isDelete; |
|
return map; |
|
} |
|
|
|
} |