package com.kingdee.eas.custom.integration.beisen.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Map;

/**
 * 考勤数据写入请求
 */
public class AttendanceRequest {

    /** 员工工号 */
    @JsonProperty("personNumber")
    private String personNumber;

    /** 考勤日期（yyyy-MM-dd），日报使用 */
    @JsonProperty("attendanceDate")
    private String attendanceDate;

    /** 考勤周期（yyyyMM），月报使用 */
    @JsonProperty("attendancePeriod")
    private String attendancePeriod;

    /** 行政组织编码 */
    @JsonProperty("adminOrgCode")
    private String adminOrgCode;

    /** 岗位编码 */
    @JsonProperty("positionCode")
    private String positionCode;

    /** 动态参数：key = sHR考勤项目编码，value = 考勤数据值 */
    @JsonProperty("dynamicParams")
    private Map<String, Object> dynamicParams;

    public String getPersonNumber() {
        return personNumber;
    }

    public void setPersonNumber(String personNumber) {
        this.personNumber = personNumber;
    }

    public String getAttendanceDate() {
        return attendanceDate;
    }

    public void setAttendanceDate(String attendanceDate) {
        this.attendanceDate = attendanceDate;
    }

    public String getAttendancePeriod() {
        return attendancePeriod;
    }

    public void setAttendancePeriod(String attendancePeriod) {
        this.attendancePeriod = attendancePeriod;
    }

    public Map<String, Object> getDynamicParams() {
        return dynamicParams;
    }

    public String getAdminOrgCode() {
        return adminOrgCode;
    }

    public void setAdminOrgCode(String adminOrgCode) {
        this.adminOrgCode = adminOrgCode;
    }

    public String getPositionCode() {
        return positionCode;
    }

    public void setPositionCode(String positionCode) {
        this.positionCode = positionCode;
    }

    public void setDynamicParams(Map<String, Object> dynamicParams) {
        this.dynamicParams = dynamicParams;
    }
}
