/*
 * @Author: WuXiangNan
 * @Date: 2021-05-27 08:45:25
 * @LastEditors: WuXiangNan
 * @LastEditTime: 2021-06-02 10:25:46
 * @Description: 收费数据
 */

class BillData {
  int? incomeCount;
  double? incomeAmount;
  int? incomeOnlineCount;
  double? incomeOnlineAmount;
  double? historicalArrearsAmount;
  double? arrearsAmount;

  BillData(
      {this.arrearsAmount,
      this.historicalArrearsAmount,
      this.incomeAmount,
      this.incomeCount,
      this.incomeOnlineAmount,
      this.incomeOnlineCount});

  BillData.fromJson(json) {
    Map<String, dynamic> map = Map.from(json ?? {});
    arrearsAmount = map['arrearsAmount'];
    historicalArrearsAmount = map['historicalArrearsAmount'];
    incomeAmount = map['incomeAmount'];
    incomeCount = map['incomeCount'];
    incomeOnlineAmount = map['incomeOnlineAmount'];
    incomeOnlineCount = map['incomeOnlineCount'];
  }

  Map<String, dynamic> toJson() {
    Map<String, dynamic> json = Map<String, dynamic>();
    json['arrearsAmount'] = this.arrearsAmount;
    json['historicalArrearsAmount'] = this.historicalArrearsAmount;
    json['incomeAmount'] = this.incomeAmount;
    json['incomeCount'] = this.incomeCount;
    json['incomeOnlineAmount'] = this.incomeOnlineAmount;
    json['incomeOnlineCount'] = this.incomeOnlineCount;

    return json;
  }
}
