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.

34 lines
852B

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