/*
 * @Author       : WuWei
 * @LastEditors  : WuWei
 * @Date         : 2023-03-13 17:15:13
 * @LastEditTime : 2023-03-20 16:41:51
 * @Description  : Do not edit
 */
///消息列表项
class MsgItemModel {

  String? id;
  String? title;
  String? message;
  String? businessType;
  String? styleType;
  String? jumpPage;
  String? status;
  String? routeParameter;
  bool? deleted;
  String? createBy;
  String? createAt;
  String? updateBy;
  String? updateAt;
  String? client;
  String? label;
  String? communityId;
  bool? canJump;


  MsgItemModel({
    this.id,
    this.title,
    this.message,
    this.businessType,
    this.styleType,
    this.jumpPage,
    this.status,
    this.routeParameter,
    this.deleted,
    this.createBy,
    this.createAt,
    this.updateBy,
    this.updateAt,
    this.client,
    this.communityId,
    this.label,
    this.canJump,
  });

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

    id = map['id'];
    title = map['title'];
    message = map['message'];
    businessType = map['businessType'];
    styleType = map['styleType'];
    jumpPage = map['jumpPage'];
    status = map['status'];
    routeParameter = map['routeParameter'];
    deleted = map['deleted'];
    createBy = map['createBy'];
    createAt = map['createAt'];
    updateBy = map['updateBy'];
    updateAt = map['updateAt'];
    client = map['client'];
    canJump = map['canJump'];
    communityId = map['communityId'];
    label = map['label'];
  }

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

    json['id'] = this.id;
    json['title'] = this.title;
    json['message'] = this.message;
    json['businessType'] = this.businessType;
    json['styleType'] = this.styleType;
    json['jumpPage'] = this.jumpPage;
    json['status'] = this.status;
    json['routeParameter'] = this.routeParameter;
    json['deleted'] = this.deleted;
    json['createBy'] = this.createBy;
    json['createAt'] = this.createAt;
    json['updateBy'] = this.updateBy;
    json['updateAt'] = this.updateAt;
    json['client'] = this.client;
    json['canJump'] = this.canJump;
    json['communityId'] = this.communityId;
    json['label'] = this.label;

    return json;
  }
}
