/*
 * @Author: XianKaiQun
 * @Date: 2020-07-15 16:02:30
 * @LastEditors: XianKaiQun
 * @LastEditTime: 2020-07-15 16:02:49
 * @Description: 
 */
///任务仪表盘 - 与登录人同部门的人员总计
class DashboardStaffModel {
  String? name;
  num? noOpen;
  num? noOpenTimeOut;
  num? doing;
  num? doingTimeOut;
  num? finished;
  num? finishedTimeOut;

  DashboardStaffModel({
    this.name,
    this.noOpen,
    this.noOpenTimeOut,
    this.doing,
    this.doingTimeOut,
    this.finished,
    this.finishedTimeOut,
  });

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

    name = map['name'];
    noOpen = map['noOpen'];
    noOpenTimeOut = map['noOpenTimeOut'];
    doing = map['doing'];
    doingTimeOut = map['doingTimeOut'];
    finished = map['finished'];
    finishedTimeOut = map['finishedTimeOut'];
  }

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

    json['name'] = this.name;
    json['noOpen'] = this.noOpen;
    json['noOpenTimeOut'] = this.noOpenTimeOut;
    json['doing'] = this.doing;
    json['doingTimeOut'] = this.doingTimeOut;
    json['finished'] = this.finished;
    json['finishedTimeOut'] = this.finishedTimeOut;

    return json;
  }
}
