/*
 * @Author: WuXiangNan
 * @Date: 2021-02-21 10:00:22
 * @LastEditTime: 2021-04-15 09:22:37
 * @LastEditors: WuXiangNan
 * @Description: 打卡时间线
 */

class CurrentClockStatusVosModel {
  bool? current;
  String? shouldClockTime;
  String? clockTime;
  String? locateName;
  int? clockResult;
  int? clockType;
  String? clockWay;

  CurrentClockStatusVosModel({
    this.current,
    this.shouldClockTime,
    this.clockTime,
    this.locateName,
    this.clockResult,
    this.clockType,
    this.clockWay,
  });

  CurrentClockStatusVosModel.fromJson(json) {
    Map<String, dynamic> map = Map.from(json ?? {});
    current = map['current'];
    shouldClockTime = map['shouldClockTime'];
    clockTime = map['clockTime'];
    locateName = map['locateName'];
    clockResult = map['clockResult'];
    clockType = map['clockType'];
    clockWay = map['clockWay'];
  }

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

    json['current'] = this.current;
    json['shouldClockTime'] = this.shouldClockTime;
    json['clockTime'] = this.clockTime;
    json['locateName'] = this.locateName;
    json['clockResult'] = this.clockResult;
    json['clockType'] = this.clockType;
    json['clockWay'] = this.clockWay;

    return json;
  }
}
