/*
 * @Author: WuWei
 * @Date: 2020-05-13 18:00:04
 * @LastEditors: WuWei
 * @LastEditTime: 2020-05-13 18:03:35
 * @Description:
 */

class IndustryNewsListModel {
  String? id;
  String? title;
  String? thumb;
  String? summary;
  String? publishTime;
  int? viewCount;
  String? jumpLink;
  int? status;
  int? informationType;

  IndustryNewsListModel({
    this.id,
    this.title,
    this.thumb,
    this.summary,
    this.publishTime,
    this.viewCount,
    this.jumpLink,
    this.status,
    this.informationType,
  });

  IndustryNewsListModel.fromJson(json) {
    Map<String, dynamic> map = Map.from(json ?? {});

    id = map['id'];
    title = map['title'];
    thumb = map['thumb'];
    summary = map['summary'];
    publishTime = map['publishTime'];
    viewCount = map['viewCount'];
    jumpLink = map['jumpLink'];
    status = map['status'];
    informationType = map['informationType'];
  }

  Map<String, dynamic> toJson() {
    Map<String, dynamic> json = Map<String, dynamic>();

    json['id'] = this.id;
    json['title'] = this.title;
    json['thumb'] = this.thumb;
    json['summary'] = this.summary;
    json['publishTime'] = this.publishTime;
    json['viewCount'] = this.viewCount;
    json['jumpLink'] = this.jumpLink;
    json['status'] = this.status;
    json['informationType'] = this.informationType;

    return json;
  }
}
