You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

57 lines
1.8 KiB

class RoseData {
String? productId;
String? productSpecId;
num? mainCategory;
num? subCategory;
String? productTitle;
String? productDesc;
String? detailDesc;
num? unitOriginalPrice;
num? unitSellingPrice;
String? purchaseTimeValue;
String? validityPeriodDays;
RoseData(
{this.productId,
this.productSpecId,
this.mainCategory,
this.subCategory,
this.productTitle,
this.productDesc,
this.detailDesc,
this.unitOriginalPrice,
this.unitSellingPrice,
this.purchaseTimeValue,
this.validityPeriodDays
});
RoseData.fromJson(Map<String, dynamic> json) {
productId = json['productId'];
productSpecId = json['productSpecId'];
mainCategory = json['mainCategory'];
subCategory = json['subCategory'];
productTitle = json['productTitle'];
productDesc = json['productDesc'];
detailDesc = json['detailDesc'];
unitOriginalPrice = json['unitOriginalPrice'];
unitSellingPrice = json['unitSellingPrice'];
purchaseTimeValue = json['purchaseTimeValue'];
validityPeriodDays = json['validityPeriodDays'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['productId'] = this.productId;
data['productSpecId'] = this.productSpecId;
data['mainCategory'] = this.mainCategory;
data['subCategory'] = this.subCategory;
data['productTitle'] = this.productTitle;
data['productDesc'] = this.productDesc;
data['detailDesc'] = this.detailDesc;
data['unitOriginalPrice'] = this.unitOriginalPrice;
data['unitSellingPrice'] = this.unitSellingPrice;
data['purchaseTimeValue'] = this.purchaseTimeValue;
data['validityPeriodDays'] = this.validityPeriodDays;
return data;
}
}