/*
 * @Author       : WuWei
 * @LastEditors  : WuWei
 * @Date         : 2023-11-06 15:09:24
 * @LastEditTime : 2023-11-06 15:27:01
 * @Description  : Do not edit
 */
class DetailModel {
  String? id;
  String? type;
  String? name;
  String? location;
  String? backhaul;
  String? multiple;
  String? meterCode;
  String? lastReadNum;
  bool? transcribes;
  String? date;

  DetailModel(
      {this.id,
      this.type,
      this.name,
      this.location,
      this.backhaul,
      this.multiple,
      this.meterCode,
      this.transcribes,
      this.lastReadNum,
      this.date});

  DetailModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    type = json['type'];
    name = json['name'];
    location = json['location'];
    backhaul = json['backhaul'];
    multiple = json['multiple'];
    meterCode = json['meterCode'];
    transcribes = json['transcribes'];
    date = json['date'];
    lastReadNum = json['lastReadNum'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['type'] = this.type;
    data['name'] = this.name;
    data['location'] = this.location;
    data['backhaul'] = this.backhaul;
    data['multiple'] = this.multiple;
    data['meterCode'] = this.meterCode;
    data['transcribes'] = this.transcribes;
    data['date'] = this.date;
    data['lastReadNum'] = this.lastReadNum;
    return data;
  }
}
