package jnpf.model.attendance.event;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author shitou
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class StatisticsBatchClearDto implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 租户Id
     */
    @NotBlank(message = "租户Id不能为空")
    private String tenantId;
    /**
     * 考勤组Id
     */
    @NotBlank(message = "考勤组Id不能为空")
    private String groupId;
    /**
     * 用户Id集合
     */
    @NotEmpty(message = "用户Id集合不能为空")
    private List<String> userIdList;
    /**
     * 日期
     */
    @NotNull(message = "日期不能为空")
    private Date day;
    /**
     * 开始日期
     */
    private Date startDay;
}
