/*
 * @Author: XianKaiQun
 * @Date: 2020-07-31 09:26:34
 * @LastEditors: XianKaiQun
 * @LastEditTime: 2020-08-10 15:49:59
 * @Description: 
 */
///保洁、安保记录列表项
class CleanSecurityListModel {
  String? id;
  String? qrcodeManagementId;
  String? state;
  String? createdName;
  String? createdAt;
  num? total;
  num? completeTotal;

  CleanSecurityListModel({
    this.id,
    this.qrcodeManagementId,
    this.state,
    this.createdName,
    this.createdAt,
    this.total,
    this.completeTotal,
  });

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

    id = map['id'];
    qrcodeManagementId = map['qrcodeManagementId'];
    state = map['state'];
    createdName = map['createdName'];
    createdAt = map['createdAt'];
    total = map['total'];
    completeTotal = map['completeTotal'];
  }

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

    json['id'] = this.id;
    json['qrcodeManagementId'] = this.qrcodeManagementId;
    json['state'] = this.state;
    json['createdName'] = this.createdName;
    json['createdAt'] = this.createdAt;
    json['total'] = this.total;
    json['completeTotal'] = this.completeTotal;

    return json;
  }
}
