/// recivers : null
/// msgType : "patrolSystem"
/// isRead : true
/// extras : null
/// relationId : "16422"
/// agencyCode : "jcs"
/// title : "隐患排查"
/// body : "巡检地点：address；点编号：001；当前状态：漏检；是否合格：漏检；不合格项：无 巡检人员：贺琳琳；巡检时间：2021-10-25 17:00:00"
/// fixedTime : "2021-10-26 06:08:01"
/// type : "3"
/// userId : "3220256"
/// sendTime : "2021-10-25 17:00:02"
/// isSendWeb : false
/// isSendApp : false
/// sequenceNbr : "1452560571281973249"
/// isImmediately : null
/// status : null

class Message {
  Message(
      {dynamic recivers,
      String msgType,
      bool isRead,
      dynamic extras,
      String relationId,
      String agencyCode,
      String title,
      String msgTypeName,
      String body,
      String fixedTime,
      String type,
      String userId,
      String sendTime,
      bool isSendWeb,
      bool isSendApp,
      String sequenceNbr,
      dynamic isImmediately,
      dynamic status,
      String linkUrl}) {
    _recivers = recivers;
    _msgType = msgType;
    _isRead = isRead;
    _extras = extras;
    _relationId = relationId;
    _agencyCode = agencyCode;
    _title = title;
    _msgTypeName = msgTypeName;
    _body = body;
    _fixedTime = fixedTime;
    _type = type;
    _userId = userId;
    _sendTime = sendTime;
    _isSendWeb = isSendWeb;
    _isSendApp = isSendApp;
    _sequenceNbr = sequenceNbr;
    _isImmediately = isImmediately;
    _status = status;
    _linkUrl = linkUrl;
  }

  Message.fromJson(dynamic json) {
    _recivers = json['recivers'];
    _msgType = json['msgType'];
    _isRead = json['isRead'];
    _extras = json['extras'];
    _relationId = json['relationId'];
    _agencyCode = json['agencyCode'];
    _title = json['title'];
    _msgTypeName = json['msgTypeName'];
    _body = json['body'];
    _fixedTime = json['fixedTime'];
    _type = json['type'];
    _userId = json['userId'];
    _sendTime = json['sendTime'];
    _isSendWeb = json['isSendWeb'];
    _isSendApp = json['isSendApp'];
    _sequenceNbr = json['sequenceNbr'];
    _isImmediately = json['isImmediately'];
    _status = json['status'];
    _linkUrl = json['linkUrl'];
  }

  dynamic _recivers;
  String _msgType;
  bool _isRead;
  dynamic _extras;
  String _relationId;
  String _agencyCode;
  String _title;
  String _msgTypeName;
  String _body;
  String _fixedTime;
  String _type;
  String _userId;
  String _sendTime;
  bool _isSendWeb;
  bool _isSendApp;
  String _sequenceNbr;
  dynamic _isImmediately;
  dynamic _status;
  String _linkUrl;

  dynamic get recivers => _recivers;

  String get msgType => _msgType;

  bool get isRead => _isRead;

  dynamic get extras => _extras;

  String get relationId => _relationId;

  String get agencyCode => _agencyCode;

  String get title => _title;

  String get msgTypeName => _msgTypeName;

  String get body => _body;

  String get fixedTime => _fixedTime;

  String get type => _type;

  String get userId => _userId;

  String get sendTime => _sendTime;

  bool get isSendWeb => _isSendWeb;

  bool get isSendApp => _isSendApp;

  String get sequenceNbr => _sequenceNbr;

  dynamic get isImmediately => _isImmediately;

  dynamic get status => _status;

  String get linkUrl => _linkUrl;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['recivers'] = _recivers;
    map['msgType'] = _msgType;
    map['isRead'] = _isRead;
    map['extras'] = _extras;
    map['relationId'] = _relationId;
    map['agencyCode'] = _agencyCode;
    map['title'] = _title;
    map['msgTypeName'] = _msgTypeName;
    map['body'] = _body;
    map['fixedTime'] = _fixedTime;
    map['type'] = _type;
    map['userId'] = _userId;
    map['sendTime'] = _sendTime;
    map['isSendWeb'] = _isSendWeb;
    map['isSendApp'] = _isSendApp;
    map['sequenceNbr'] = _sequenceNbr;
    map['isImmediately'] = _isImmediately;
    map['status'] = _status;
    map['linkUrl'] = _linkUrl;
    return map;
  }
}
