package com.bonus.system.att.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 考勤数据
 * @author zys
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AttDataBean {

    /**
     * 打卡地址
     */
    private String attAddress;
    /**
     * 考勤日期
     */
    private String attCurrentDay;
    /**
     * 考勤时间
     */
    private String attCurrentTime;
    /**
     * 打卡维度
     */
    private Double attLat;
    /**
     * 打卡经度
     */
    private Double attLon;
    /**
     * 考勤状态
     */
    private String attStatus;
    /**
     * 考勤类型1上班2下班
     */
    private String attType;
    /**
     * 数据来源1黔2考勤机
     */
    private String dataSource;
    /**
     * 异常备注
     */
    private String errorRemake;
    /**
     * 组织编号
     */
    private Long orgId;
    /**
     * 用户编号
     */
    private Long userId;

    /**
     * 考勤组
     */
    private Long groupId;

    /**
     * 考勤组类型
     */
    private Integer groupType;

    public AttDataBean(String attCurrentDay, String attStatus, String attType, Long orgId, Long userId) {
        this.attCurrentDay = attCurrentDay;
        this.attStatus = attStatus;
        this.attType = attType;
        this.orgId = orgId;
        this.userId = userId;
    }

    public AttDataBean(String attCurrentDay, String attStatus, String attType, Long userId) {
        this.attCurrentDay = attCurrentDay;
        this.attStatus = attStatus;
        this.attType = attType;
        this.userId = userId;
    }
}
