/*
 * @Author       : WuWei
 * @LastEditors  : WuWei
 * @Date         : 2023-11-07 10:46:55
 * @LastEditTime : 2023-11-07 11:19:30
 * @Description  : Do not edit
 */
class LiquidatedDamagesModel {
  String? id;
  num? receivedFee;
  num? discountFee;
  num? receivableFee;
  num? quantity;
  String? billId;
  String? liquidatedDamagesStartAt;
  num? arrearsFee;
  num? coefficient;
  num? breachQuantity;

  LiquidatedDamagesModel({
    this.id,
    this.receivedFee,
    this.discountFee,
    this.receivableFee,
    this.quantity,
    this.billId,
    this.liquidatedDamagesStartAt,
    this.arrearsFee,
    this.coefficient,
    this.breachQuantity,
  });

  LiquidatedDamagesModel.fromJson(json) {
    Map<String, dynamic> map = Map.from(json ?? {});

    id = map['id'];
    receivedFee = map['receivedFee'];
    discountFee = map['discountFee'];
    receivableFee = map['receivableFee'];
    quantity = map['quantity'];
    billId = map['billId'];
    liquidatedDamagesStartAt = map['liquidatedDamagesStartAt'];
    arrearsFee = map['arrearsFee'];
    coefficient = map['coefficient'];
    breachQuantity = map['breachQuantity'];
  }

  Map<String, dynamic> toJson() {
    Map<String, dynamic> json = Map<String, dynamic>();

    json['id'] = this.id;
    json['receivedFee'] = this.receivedFee;
    json['discountFee'] = this.discountFee;
    json['receivableFee'] = this.receivableFee;
    json['quantity'] = this.quantity;
    json['billId'] = this.billId;
    json['liquidatedDamagesStartAt'] = this.liquidatedDamagesStartAt;
    json['arrearsFee'] = this.arrearsFee;
    json['coefficient'] = this.coefficient;
    json['breachQuantity'] = this.breachQuantity;

    return json;
  }
}
