package com.ssm.manage.excelEntity;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import java.util.Date;

@Setter
@Getter
@ToString
public class ExcelAbnormalClockInRecord {

    /**
     * 员工名字
     */
    @Column(name = "staff_num")
    @ApiModelProperty(name = "staffNum", value = "员工编号")
    private String staffNum;

    /**
     * 员工名字
     */
    @Column(name = "staff_name")
    @ApiModelProperty(name = "staffName", value = "员工名字")
    private String staffName;


    /**
     * 身份证
     */
    @Column(name = "identity_card")
    @ApiModelProperty(name = "identityCard", value = "身份证")
    private String identityCard;


// 首打卡
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date checkTime;
    //  缺卡
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date checkEndTime;

    //考勤时间
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date attendanceTime;

    //考勤时间
    private String attendanceTime1;

    // 考勤状态
    private String recordType;

    //日结/月结
    private String type;

    /**
     * 一级部门名称
     */
    private String firstDeptName;

    /**
     * 二级部门名称
     */
    private String secondDeptName;

    /**
     * 三级部门名称
     */
    private String threeDeptName;
}
