/*
 * @Author: XianKaiQun
 * @Date: 2020-07-15 15:43:10
 * @LastEditors: XianKaiQun
 * @LastEditTime: 2020-07-15 15:43:24
 * @Description: 
 */
///任务仪表盘 - 个人相关任务和年度执行力指数
class DashboardPersonModel {
  num? myTimeOut;
  num? myNormal;
  num? myAssignTimeOut;
  num? myAssignNormal;
  num? myccTimeOut;
  num? myccNormal;
  num? monthFinished;
  num? monthFinishedTimeOut;
  num? yearFinished;
  num? yearFinishedTimeOut;
  num? yearIndex;

  DashboardPersonModel({
    this.myTimeOut,
    this.myNormal,
    this.myAssignTimeOut,
    this.myAssignNormal,
    this.myccTimeOut,
    this.myccNormal,
    this.monthFinished,
    this.monthFinishedTimeOut,
    this.yearFinished,
    this.yearFinishedTimeOut,
    this.yearIndex,
  });

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

    myTimeOut = map['myTimeOut'];
    myNormal = map['myNormal'];
    myAssignTimeOut = map['myAssignTimeOut'];
    myAssignNormal = map['myAssignNormal'];
    myccTimeOut = map['myccTimeOut'];
    myccNormal = map['myccNormal'];
    monthFinished = map['monthFinished'];
    monthFinishedTimeOut = map['monthFinishedTimeOut'];
    yearFinished = map['yearFinished'];
    yearFinishedTimeOut = map['yearFinishedTimeOut'];
    yearIndex = map['yearIndex'];
  }

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

    json['myTimeOut'] = this.myTimeOut;
    json['myNormal'] = this.myNormal;
    json['myAssignTimeOut'] = this.myAssignTimeOut;
    json['myAssignNormal'] = this.myAssignNormal;
    json['myccTimeOut'] = this.myccTimeOut;
    json['myccNormal'] = this.myccNormal;
    json['monthFinished'] = this.monthFinished;
    json['monthFinishedTimeOut'] = this.monthFinishedTimeOut;
    json['yearFinished'] = this.yearFinished;
    json['yearFinishedTimeOut'] = this.yearFinishedTimeOut;
    json['yearIndex'] = this.yearIndex;

    return json;
  }
}
