NewsInformationModel.dart 824B

1234567891011121314151617181920212223242526272829303132333435
  1. class NewsInformationModel {
  2. String? newsId;
  3. String? title;
  4. String? typeId;
  5. String? typeNam;
  6. String? thumb;
  7. num? weight;
  8. num? status;
  9. String? createDate;
  10. String? contentList;
  11. NewsInformationModel();
  12. NewsInformationModel.fromJson(Map<String, dynamic> json)
  13. : newsId=json["newsId"],
  14. title=json["title"],
  15. typeId=json["typeId"],
  16. typeNam=json["typeNam"],
  17. thumb=json["thumb"],
  18. weight=json["weight"],
  19. status=json["status"],
  20. createDate=json["createDate"],
  21. contentList=json["contentList"];
  22. Map<String, dynamic> toJson() => {
  23. 'newsId':newsId,
  24. 'title':title,
  25. 'typeId':typeId,
  26. 'typeNam':typeNam,
  27. 'thumb':thumb,
  28. 'weight':weight,
  29. 'status':status,
  30. 'createDate':createDate,
  31. 'contentList':contentList,
  32. };
  33. }