package jnpf.attendance.dto;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MonthStatsDetailsDto {
    /**
     * 考勤组ID集合
     */
    @NotEmpty(message = "考勤组ID集合不能为空")
    private List<String> groupIds;
    /**
     * 月份(yyyyMM)
     */
    @NotBlank(message = "开始月份不能为空")
    private String month;
}
