package jnpf.model.attendance.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

/**
 * 操作日志分页查询DTO
 *
 * @author Generated
 * @create 2026-04-21
 */
@Data
@Schema(description = "操作日志分页查询DTO")
public class OperationLogQueryDto {

    /**
     * 考勤本ID
     */
    @Schema(description = "考勤本ID")
    private String bookId;

    /**
     * 月份（格式：yyyy-MM）
     */
    @Schema(description = "月份（格式：yyyy-MM）")
    private String month;

    /**
     * 员工ID
     */
    @Schema(description = "员工ID")
    private String employeeId;

    /**
     * 页码（默认1）
     */
    @Min(value = 1, message = "页码最小为1")
    @Schema(description = "页码", defaultValue = "1")
    private Integer page = 1;

    /**
     * 每页条数（默认20，最大100）
     */
    @Min(value = 1, message = "每页条数最小为1")
    @Max(value = 100, message = "每页条数最大为100")
    @Schema(description = "每页条数", defaultValue = "20")
    private Integer size = 20;
}
