class HistoryTransaksiModel {
  String? id;
  String? tanggaltransaksi;
  String? tipe;
  String? kategoriid;
  String? kategoriname;
  String? note;
  String? amount;
  String? sender;
  String? imgurl;
  String? isconfirm;
  String? tanggalconfirm;
  String? usertransaksi;
  String? userconfirm;

  HistoryTransaksiModel(
      {this.id,
      this.tanggaltransaksi,
      this.tipe,
      this.kategoriid,
      this.kategoriname,
      this.note,
      this.amount,
      this.sender,
      this.imgurl,
      this.isconfirm,
      this.tanggalconfirm,
      this.usertransaksi,
      this.userconfirm});

  HistoryTransaksiModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    tanggaltransaksi = json['tanggaltransaksi'];
    tipe = json['tipe'];
    kategoriid = json['kategoriid'];
    kategoriname = json['kategoriname'];
    note = json['note'];
    amount = json['amount'];
    sender = json['sender'];
    imgurl = json['imgurl'];
    isconfirm = json['isconfirm'];
    tanggalconfirm = json['tanggalconfirm'];
    usertransaksi = json['usertransaksi'];
    userconfirm = json['userconfirm'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['tanggaltransaksi'] = this.tanggaltransaksi;
    data['tipe'] = this.tipe;
    data['kategoriid'] = this.kategoriid;
    data['kategoriname'] = this.kategoriname;
    data['note'] = this.note;
    data['amount'] = this.amount;
    data['sender'] = this.sender;
    data['imgurl'] = this.imgurl;
    data['isconfirm'] = this.isconfirm;
    data['tanggalconfirm'] = this.tanggalconfirm;
    data['usertransaksi'] = this.usertransaksi;
    data['userconfirm'] = this.userconfirm;
    return data;
  }
}