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.
21 lines
500 B
21 lines
500 B
4 years ago
|
class EstatePaymentModel {
|
||
|
int id;
|
||
|
String roomName;
|
||
|
int status;
|
||
|
|
||
|
EstatePaymentModel({this.id, this.roomName, this.status});
|
||
|
|
||
|
EstatePaymentModel.fromJson(Map<String, dynamic> json) {
|
||
|
id = json['id'];
|
||
|
roomName = json['roomName'];
|
||
|
status = json['status'];
|
||
|
}
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||
|
data['id'] = this.id;
|
||
|
data['roomName'] = this.roomName;
|
||
|
data['status'] = this.status;
|
||
|
return data;
|
||
|
}
|
||
|
}
|