/*
 * @Author: WuXiangNan
 * @Date: 2021-02-20 16:57:36
 * @LastEditTime: 2021-03-10 10:34:23
 * @LastEditors: WuXiangNan
 * @Description: 考勤打卡
 */

class ClockModel {
  String? employeeId;
  String? clockWay;
  int? longitude;
  int? latitude;
  String? clockStatus;
  String? remark;
  String? photo;
  String? shiftId;

  // get getremark => this.remark;

  ClockModel({
    this.employeeId,
    this.clockWay,
    this.longitude,
    this.latitude,
    this.clockStatus,
    this.remark,
    this.photo,
    this.shiftId,
  });

  ClockModel.fromJson(json) {
    Map<String, dynamic> map = Map.from(json ?? {});
    employeeId = map['employeeId'];
    clockWay = map['clockWay'];
    longitude = map['longitue'];
    latitude = map['latitude'];
    clockStatus = map['clockStatus'];
    remark = map['remark'];
    photo = map['photo'];
    shiftId = map['shiftId'];
  }

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

    json['employeeId'] = this.employeeId;
    json['clockWay'] = this.clockWay;
    json['longitue'] = this.longitude;
    json['latitude'] = this.latitude;
    json['clockStatus'] = this.clockStatus;
    json['remark'] = this.remark;
    json['photo'] = this.photo;
    json['shiftId'] = this.shiftId;

    return json;
  }
}
