class AddCarModel {
  static String? carNumber = '';
  static String? tecNumber = '';
  static String? tecSeries = '';
  static String? mark = '';
  static String? name = '';
  static int? brandId;
  static int? modelId;
  static int? imageId;
}

class AddConfidantModel {
  static String kind = '';
  static String confidantSeries = '';
  static String confidantNumber = '';
  static String datePassed = '';
  static String dateEnd = '';
  static String issuedTo = '';
}

class AddInspectionModel {
  static String datePassed = '';
  static String dateEnd = '';
  static int? place;
}

class AddInsuranceModel {
  static String kind = '';
  static int? numberOfDrivers;
  static String companyName = '';
  static String series = '';
  static String number = '';
  static String datePassed = '';
  static String dateEnd = '';
}

class AddTintingModel {
  static String? kind;
  static String? series;
  static String? number;
  static String? datePassed;
  static String? dateEnd;
}

class AddOilModelOld {
  static String? mark;
  static int? mileage;
  static int? nextMileage;
  static int? chargePrice;
  static String? lastReplacement;
  static String? nextReplacement;
}

class AddOilModel {
  String? mark;
  int? mileage;
  int? oilMileage;
  int? dailyMileage;
  int? nextMileage;
  int? chargePrice;
  String? lastReplacement;
  String? nextReplacement;

  AddOilModel({
    this.mark,
    this.mileage,
    this.dailyMileage,
    this.oilMileage,
    this.nextMileage,
    this.chargePrice,
    this.lastReplacement,
    this.nextReplacement,
  });

  factory AddOilModel.fromJson(Map<String, dynamic> json) {
    return AddOilModel(
      mark: json['mark'],
      mileage: json['mileage'],
      oilMileage: json['oil_mileage'],
      dailyMileage: json['daily_mileage'],
      nextMileage: json['next_mileage'],
      chargePrice: json['charge_price'],
      lastReplacement: json['last_replacement'],
      nextReplacement: json['next_replacement'],
    );
  }
}
