class ScanQrRequestModel {
  int deliveryOrderID;
  int driverID;
  int createdBy;
  int channel;
  int groupID;
  String tokenID;
  String userID;
  String mobileNo;

  ScanQrRequestModel(
      {this.deliveryOrderID,
      this.driverID,
      this.createdBy,
      this.channel,
      this.groupID,
      this.tokenID,
      this.userID,
      this.mobileNo});

  ScanQrRequestModel.fromJson(Map<String, dynamic> json) {
    deliveryOrderID = json['DeliveryOrderID'];
    driverID = json['DriverID'];
    createdBy = json['CreatedBy'];
    channel = json['Channel'];
    groupID = json['GroupID'];
    tokenID = json['TokenID'];
    userID = json['UserID'];
    mobileNo = json['MobileNo'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['DeliveryOrderID'] = this.deliveryOrderID;
    data['DriverID'] = this.driverID;
    data['CreatedBy'] = this.createdBy;
    data['Channel'] = this.channel;
    data['GroupID'] = this.groupID;
    data['TokenID'] = this.tokenID;
    data['UserID'] = this.userID;
    data['MobileNo'] = this.mobileNo;
    return data;
  }
}
