package jnpf.model.attendance.dto;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class QueryGroupStatisticsDto {
    /**
     * 考勤组id
     */
    @NotEmpty(message = "考勤组不能为空")
    private String groupId;
    /**
     * 月份(yyyy-mm)
     */
    @NotBlank(message = "月份不能为空")
    private String month;
}
