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;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class QueryStatisticsInfoDto {
    /**
     * 用户id
     */
    @NotEmpty(message = "用户不能为空")
    private String userId;
    /**
     * 月份(yyyy-mm)
     */
    @NotBlank(message = "月份不能为空")
    private String month;
}
