You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
car_common_app/lib/models/provider_service_model.dart

66 lines
2.4 KiB
Dart

// class ProviderServiceModel {
// int? id;
// String? description;
// String? descriptionN;
// String? serviceIconUrl;
// String? serviceImageUrl;
// int? serviceCategoryID;
// bool? isActive;
// String? categoryName;
// bool? ispartial;
// int? appointmentPricePercentage;
// int? refundAmountPercentage;
// bool? isSelected;
//
// ProviderServiceModel(
// {this.id,
// this.description,
// this.descriptionN,
// this.serviceIconUrl,
// this.serviceImageUrl,
// this.serviceCategoryID,
// this.isActive,
// this.categoryName,
// this.ispartial,
// this.appointmentPricePercentage,
// this.refundAmountPercentage,
// this.isSelected = false,
// });
//
// ProviderServiceModel.fromJson(Map<String, dynamic> json) {
// id = json['id'];
// description = json['description'];
// descriptionN = json['descriptionN'];
// serviceIconUrl = json['serviceIconUrl'];
// serviceImageUrl = json['serviceImageUrl'];
// serviceCategoryID = json['serviceCategoryID'];
// isActive = json['isActive'];
// categoryName = json['categoryName'];
// ispartial = json['ispartial'];
// appointmentPricePercentage = json['appointmentPricePercentage'];
// refundAmountPercentage = json['refundAmountPercentage'];
// isSelected = false;
// }
//
// Map<String, dynamic> toJson() {
// final Map<String, dynamic> data = <String, dynamic>{};
// data['id'] = id;
// data['description'] = description;
// data['descriptionN'] = descriptionN;
// data['serviceIconUrl'] = serviceIconUrl;
// data['serviceImageUrl'] = serviceImageUrl;
// data['serviceCategoryID'] = serviceCategoryID;
// data['isActive'] = isActive;
// data['categoryName'] = categoryName;
// data['ispartial'] = ispartial;
// data['appointmentPricePercentage'] = appointmentPricePercentage;
// data['refundAmountPercentage'] = refundAmountPercentage;
// return data;
// }
//
// @override
// String toString() {
// return 'ProviderServiceModel{id: $id, description: $description, descriptionN: $descriptionN, serviceIconUrl: $serviceIconUrl, serviceImageUrl: $serviceImageUrl, serviceCategoryID: $serviceCategoryID, isActive: $isActive, categoryName: $categoryName, ispartial: $ispartial, appointmentPricePercentage: $appointmentPricePercentage, refundAmountPercentage: $refundAmountPercentage, isSelected: $isSelected}';
// }
// }