package jnpf.model.attendance.dto;

import jnpf.base.Pagination;
import lombok.*;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class MonthSealPageListDto extends Pagination {
    /**
     * 月份|不能选怎当月(yyyy-mm)
     */
    @NotBlank(message = "月份不能为空")
    private String month;
    /**
     * 考勤组/班组信息
     */
    @NotEmpty(message = "请选择考勤组/班组信息")
    private List<GroupFilterDto> filterList;
    /**
     * 姓名
     */
    private String name;
    /**
     * 封账状态(0-未封账  1-已封账)
     */
    private Integer seal;
}
