package com.ssm.manage.query;

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

import java.util.Date;
import java.util.List;

/**
 * 临时工异常打卡记录查询对象
 */
@Getter
@Setter
@NoArgsConstructor
public class AbnormalClockInRecordQuery {
    /**
     * 入职开始时间
     */
    @ApiModelProperty(name = "enterStartTime", value = "入职开始时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date enterStartTime;

    /**
     * 入职结束时间
     */
    @ApiModelProperty(name = "enterEndTime", value = "入职结束时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date enterEndTime;

    /**
     * 当前部门
     */
    @ApiModelProperty(name = "deptId", value = "当前部门")
    private Long deptId;

    /**
     * 多部门查询
     */
    @ApiModelProperty(name = "deptIds", value = "多部门查询")
    private List<Long> deptIds;
//日结/月结
    private Integer type;
//    名字
    private String staffName;
}
