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 PersonnelApiInfoPageListDto extends CultivatePage {
    /**
     * 组织id
     */
    @NotEmpty(message = "组织不能为空")
    private List<String> orgIds;
    /**
     * 开始月份(yyyy-mm)
     */
    @NotBlank(message = "开始月份不能为空")
    private String startMonth;
    /**
     * 结束月份(yyyy-mm)
     */
    @NotBlank(message = "结束月份不能为空")
    private String endMonth;

}
