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.
25 lines
582 B
25 lines
582 B
class SystemMessageModel {
|
|
int id;
|
|
String content;
|
|
int status;
|
|
String title;
|
|
|
|
SystemMessageModel({this.id, this.content, this.status, this.title});
|
|
|
|
SystemMessageModel.fromJson(Map<String, dynamic> json) {
|
|
id = json['id'];
|
|
content = json['content'];
|
|
status = json['status'];
|
|
title = json['title'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['id'] = this.id;
|
|
data['content'] = this.content;
|
|
data['status'] = this.status;
|
|
data['title'] = this.title;
|
|
return data;
|
|
}
|
|
}
|