import 'package:mohem_flutter_app/models/items_for_sale/get_regions_list.dart';
import 'package:mohem_flutter_app/models/items_for_sale/get_sale_categories_list.dart';

class ItemReviewModel {
  String? itemTitle;
  String? itemDescription;
  String? itemCondition;
  GetRegionsList? selectedRegion;
  num? itemPrice;
  List<String>? itemPhotos;
  GetSaleCategoriesList? selectedSaleCategory;

  ItemReviewModel(
    this.itemTitle,
    this.itemDescription,
    this.itemCondition,
    this.selectedRegion,
    this.itemPrice,
    this.itemPhotos,
    this.selectedSaleCategory,
  );

  Map<String, dynamic> toJson() {
    Map<String, dynamic> data = new Map<String, dynamic>();
    data['itemTitle'] = this.itemTitle;
    data['itemDescription'] = this.itemDescription;
    data['itemCondition'] = this.itemCondition;
    data['selectedRegion'] = this.selectedRegion;
    data['itemPrice'] = this.itemPrice;
    data['itemPhotos'] = this.itemPhotos;
    data['selectedSaleCategory'] = this.selectedSaleCategory;
    return data;
  }

}
