package com.ssm.manage.excelEntity;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.ssm.manage.entity.BlackList;
import com.ssm.manage.entity.RegionList;
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 ExcelAbnormalClockInRecordDetail {
// 人员编码
    private String staffNum;
    /**
     * 部门编码
     */
    @Column(name = "dept_number")
    @ApiModelProperty(name = "deptNumber", value = "部门编码")
    private String deptNumber;

    /**
     * 部门名称
     */
    @Column(name = "dept_name")
    @ApiModelProperty(name = "deptName", value = "部门名称")
    private String deptName;
    /**
     * 设备名称
     */
    @Column(name = "equipment_name")
    @ApiModelProperty(name = "equipmentName", value = "设备名称")
    private String equipmentName;
    /**
     * 开始时间
     */
    @Column(name = "check_time")
    @ApiModelProperty(name = "checkTime", value = "开始时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date checkTime;

    /**
     * 结束时间
     */
    @Column(name = "check_end_time")
    @ApiModelProperty(name = "check_end_time", value = "结束时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date checkEndTime;
    /**
     * 异常原因说明
     */
    @ApiModelProperty(name = "reason", value = "异常原因说明")
    private String reason;
}
