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.
new_reccok/lib/models/user/invoice_get_bill_model.dart

26 lines
720 B

class InvoiceGetBillModel {
String? endTime;
String? goodsName;
num? goodsTotalAmount;
int? orderId;
InvoiceGetBillModel(
{this.endTime, this.goodsName, this.goodsTotalAmount, this.orderId});
InvoiceGetBillModel.fromJson(Map<String, dynamic> json) {
endTime = json['end_time'];
goodsName = json['goods_name'];
goodsTotalAmount = json['goods_total_amount'];
orderId = json['order_id'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['end_time'] = this.endTime;
data['goods_name'] = this.goodsName;
data['goods_total_amount'] = this.goodsTotalAmount;
data['order_id'] = this.orderId;
return data;
}
}