/*
 * @Author: XianKaiQun
 * @Date: 2020-07-31 10:15:01
 * @LastEditors: XianKaiQun
 * @LastEditTime: 2020-07-31 10:15:01
 * @Description: 
 */

class QrcodeDetailModel {
  String? id;
  String? number;
  String? communityName;
  String? buildId;
  String? position;
  String? positionId;
  String? positionName;
  String? type;
  num? status;
  String? text;
  dynamic newSecurityPatrolsRecordVo;
  dynamic newCleanRecordVo;

  QrcodeDetailModel({
    this.id,
    this.number,
    this.communityName,
    this.buildId,
    this.position,
    this.positionId,
    this.positionName,
    this.type,
    this.status,
    this.text,
    this.newSecurityPatrolsRecordVo,
    this.newCleanRecordVo,
  });

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

    id = map['id'];
    number = map['number'];
    communityName = map['communityName'];
    buildId = map['buildId'];
    position = map['position'];
    positionId = map['positionId'];
    positionName = map['positionName'];
    type = map['type'];
    status = map['status'];
    text = map['text'];
    newSecurityPatrolsRecordVo = map['newSecurityPatrolsRecordVo'];
    newCleanRecordVo = map['newCleanRecordVo'];
  }

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

    json['id'] = this.id;
    json['number'] = this.number;
    json['communityName'] = this.communityName;
    json['buildId'] = this.buildId;
    json['position'] = this.position;
    json['positionId'] = this.positionId;
    json['positionName'] = this.positionName;
    json['type'] = this.type;
    json['status'] = this.status;
    json['text'] = this.text;
    json['newSecurityPatrolsRecordVo'] = this.newSecurityPatrolsRecordVo;
    json['newCleanRecordVo'] = this.newCleanRecordVo;

    return json;
  }
}
