You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.3 KiB
Dart
50 lines
1.3 KiB
Dart
class MyReservedAdsRespModel {
|
|
int? id;
|
|
int? adsID;
|
|
int? customerID;
|
|
int? paymentStatus;
|
|
int? adsReserveStatus;
|
|
int? reservationTimeID;
|
|
double? reservationBasePrice;
|
|
double? refundAmount;
|
|
String? refundDate;
|
|
|
|
MyReservedAdsRespModel({
|
|
this.id,
|
|
this.adsID,
|
|
this.customerID,
|
|
this.paymentStatus,
|
|
this.adsReserveStatus,
|
|
this.reservationTimeID,
|
|
this.reservationBasePrice,
|
|
this.refundAmount,
|
|
this.refundDate,
|
|
});
|
|
|
|
MyReservedAdsRespModel.fromJson(Map<String, dynamic> json) {
|
|
id = json['id'];
|
|
adsID = json['adsID'];
|
|
customerID = json['customerID'];
|
|
paymentStatus = json['paymentStatus'];
|
|
paymentStatus = json['adsReserveStatus'];
|
|
reservationTimeID = json['reservationTimeID'];
|
|
reservationBasePrice = json['reservationBasePrice'];
|
|
refundAmount = json['refundAmount'];
|
|
refundDate = json['refundDate'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = <String, dynamic>{};
|
|
data['id'] = id;
|
|
data['adsID'] = adsID;
|
|
data['customerID'] = customerID;
|
|
data['paymentStatus'] = paymentStatus;
|
|
data['adsReserveStatus'] = adsReserveStatus;
|
|
data['reservationTimeID'] = reservationTimeID;
|
|
data['reservationBasePrice'] = reservationBasePrice;
|
|
data['refundAmount'] = refundAmount;
|
|
data['refundDate'] = refundDate;
|
|
return data;
|
|
}
|
|
}
|