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.

39 lines
981B

  1. class RequestStamp {
  2. int? tBCropId;
  3. int? tbExampleStampId;
  4. int? quantity;
  5. String? description;
  6. String? expiredDate;
  7. String? productName;
  8. RequestStamp({
  9. this.tBCropId,
  10. this.tbExampleStampId,
  11. this.quantity,
  12. this.description,
  13. this.expiredDate,
  14. this.productName,
  15. });
  16. RequestStamp.fromJson(Map<String, dynamic> json) {
  17. tBCropId = json['tBCropId'];
  18. tbExampleStampId = json['tbExampleStampId'];
  19. quantity = json['quantity'];
  20. description = json['description'];
  21. expiredDate = json['expiredDate'];
  22. productName = json['productName'];
  23. }
  24. Map<String, dynamic> toJson() {
  25. final Map<String, dynamic> data = new Map<String, dynamic>();
  26. data['tBCropId'] = this.tBCropId;
  27. data['tbExampleStampId'] = this.tbExampleStampId;
  28. data['quantity'] = this.quantity;
  29. data['description'] = this.description;
  30. data['expiredDate'] = this.expiredDate;
  31. data['productName'] = this.productName;
  32. return data;
  33. }
  34. }