package jnpf.model.attendance.dto;

import jnpf.model.cultivate.CultivatePage;
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 PersonnelApiInfoSinglePageListDto extends CultivatePage {
    /**
     * 考勤组id
     */
    @NotEmpty(message = "考勤组不能为空")
    private List<String> groupIds;
    /**
     * 月份(yyyy-mm)
     */
    @NotBlank(message = "月份不能为空")
    private String month;
}
