cms_doc_attachment_data.dart 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. class DocAttachmentInfo{
  2. DocAttachmentInfo({
  3. this.id,
  4. this.createTime,
  5. this.updateTime,
  6. this.name,
  7. this.extension,
  8. this.storage,
  9. this.length,
  10. this.appId,
  11. this.categoryId,
  12. this.documentId,
  13. this.fileType,
  14. this.creatorUid
  15. });
  16. String? id;
  17. String? createTime;
  18. String? updateTime;
  19. String? name;
  20. String? extension;
  21. String? storage;
  22. int? length;
  23. String? appId;
  24. String? categoryId;
  25. String? documentId;
  26. String? fileType;
  27. String? creatorUid;
  28. factory DocAttachmentInfo.fromJson(Map<String, dynamic> json) => DocAttachmentInfo(
  29. id: json["id"],
  30. createTime: json["createTime"],
  31. updateTime: json["updateTime"],
  32. name: json["name"],
  33. extension: json["extension"],
  34. storage: json["storage"],
  35. length: json["length"],
  36. appId: json["appId"],
  37. categoryId: json["categoryId"],
  38. documentId: json["documentId"],
  39. fileType: json["fileType"],
  40. creatorUid: json["creatorUid"],
  41. );
  42. }