class LeadCreateRequest {
  LeadCreateRequest({
    this.warehouseCode,
    this.wharehouseUz,
    this.wharehouseRu,
    this.wharehouseZh,
    this.nameUz,
    this.nameRu,
    this.nameZh,
    this.userUcode,
    this.phoneNumber,
    this.gmail,
    this.weight,
    this.price,
    this.status,
    this.averageWeightKg,
    this.m3,
  });

  LeadCreateRequest.fromJson(dynamic json) {
    warehouseCode = json['warehouse_code'];
    wharehouseUz = json['wharehouseUz'];
    wharehouseRu = json['wharehouseRu'];
    wharehouseZh = json['wharehouseZh'];
    nameUz = json['nameUz'];
    nameRu = json['nameRu'];
    nameZh = json['nameZh'];
    userUcode = json['user_ucode'];
    phoneNumber = json['phone_number'];
    gmail = json['gmail'];
    weight = json['weight'];
    price = json['price'];
    status = json['status'];
    averageWeightKg = json['average_weight_kg'];
    m3 = json['status'];
  }

  int? warehouseCode;
  String? wharehouseUz;
  String? wharehouseRu;
  String? wharehouseZh;
  String? nameUz;
  String? nameRu;
  String? nameZh;
  String? userUcode;
  String? phoneNumber;
  String? gmail;
  String? weight;
  String? price;
  String? status;
  String? averageWeightKg;
  String? m3;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['warehouse_code'] = warehouseCode;
    map['wharehouseUz'] = wharehouseUz;
    map['wharehouseRu'] = wharehouseRu;
    map['wharehouseZh'] = wharehouseZh;
    map['nameUz'] = nameUz;
    map['nameRu'] = nameRu;
    map['nameZh'] = nameZh;
    map['user_ucode'] = userUcode;
    map['phone_number'] = phoneNumber;
    map['gmail'] = gmail;
    map['weight'] = weight;
    map['price'] = price;
    map['status'] = status;
    map['average_weight_kg'] = averageWeightKg;
    map['m3'] = m3;
    return map;
  }
}
