class UpdateDeliveryRequest {
  int? deliveryid;
  int? userid;
  int? orderheaderid;
  int? deliverylocationid;
  int? smsdelivery;
  String? orderstatus;
  String? starttime;
  String? assigntime;
  String? arrivaltime;
  String? pickuptime;
  String? deliverytime;
  String? canceltime;
  String? riderslat;
  String? riderslon;
  String? deliverylat;
  String? deliverylong;
  String? kms;
  String? actualkms;
  double? deliveryamt;
  String? notes;
  String? feedback;

  UpdateDeliveryRequest(
      {this.deliveryid,
        this.userid,
        this.orderheaderid,
        this.deliverylocationid,
        this.smsdelivery,
        this.orderstatus,
        this.starttime,
        this.assigntime,
        this.arrivaltime,
        this.pickuptime,
        this.deliverytime,
        this.canceltime,
        this.riderslat,
        this.riderslon,
        this.deliverylat,
        this.deliverylong,
        this.kms,
        this.actualkms,
        this.deliveryamt,
        this.notes,
        this.feedback});

  UpdateDeliveryRequest.fromJson(Map<String, dynamic> json) {
    deliveryid = json['deliveryid'];
    userid = json['userid'];
    orderheaderid = json['orderheaderid'];
    deliverylocationid = json['deliverylocationid'];
    smsdelivery = json['smsdelivery'];
    orderstatus = json['orderstatus'];
    starttime = json['starttime'];
    assigntime = json['assigntime'];
    arrivaltime = json['arrivaltime'];
    pickuptime = json['pickuptime'];
    deliverytime = json['deliverytime'];
    canceltime = json['canceltime'];
    riderslat = json['riderslat'];
    riderslon = json['riderslon'];
    deliverylat = json['deliverylat'];
    deliverylong = json['deliverylong'];
    kms = json['kms'];
    actualkms = json['actualkms'];
    deliveryamt = json['deliveryamt'];
    notes = json['notes'];
    feedback = json['feedback'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['deliveryid'] = this.deliveryid;
    data['userid'] = this.userid;
    data['orderheaderid'] = this.orderheaderid;
    data['deliverylocationid'] = this.deliverylocationid;
    data['smsdelivery'] = this.smsdelivery;
    data['orderstatus'] = this.orderstatus;
    data['starttime'] = this.starttime;
    data['assigntime'] = this.assigntime;
    data['arrivaltime'] = this.arrivaltime;
    data['pickuptime'] = this.pickuptime;
    data['deliverytime'] = this.deliverytime;
    data['canceltime'] = this.canceltime;
    data['riderslat'] = this.riderslat;
    data['riderslon'] = this.riderslon;
    data['deliverylat'] = this.deliverylat;
    data['deliverylong'] = this.deliverylong;
    data['kms'] = this.kms;
    data['actualkms'] = this.actualkms;
    data['deliveryamt'] = this.deliveryamt;
    data['notes'] = this.notes;
    data['feedback'] = this.feedback;
    return data;
  }
}
