class BranchRatingModel {
  int? id;
  String? title;
  String? review;
  int? ratNo;
  int? serviceProviderBranchID;
  String? serviceProviderBranchName;
  int? customerID;
  String? customerName;

  BranchRatingModel({this.id, this.title, this.review, this.ratNo, this.serviceProviderBranchID, this.serviceProviderBranchName, this.customerID, this.customerName});

  BranchRatingModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    title = json['title'];
    review = json['review'];
    ratNo = json['ratNo'];
    serviceProviderBranchID = json['serviceProviderBranchID'];
    serviceProviderBranchName = json['serviceProviderBranchName'];
    customerID = json['customerID'];
    customerName = json['customerName'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['id'] = id;
    data['title'] = title;
    data['review'] = review;
    data['ratNo'] = ratNo;
    data['serviceProviderBranchID'] = serviceProviderBranchID;
    data['serviceProviderBranchName'] = serviceProviderBranchName;
    data['customerID'] = customerID;
    data['customerName'] = customerName;
    return data;
  }
}
