package jnpf.model.attendance.dto;

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

import javax.validation.constraints.NotBlank;

/**
 * 需求6：请假备注统计DTO
 *
 * @author Generated
 * @create 2026-04-22
 */
@Data
@Schema(description = "请假备注统计DTO")
public class LeaveRemarkSummaryDto {

    /**
     * 考勤本ID
     */
    @NotBlank(message = "考勤本ID不能为空")
    @Schema(description = "考勤本ID", required = true)
    private String bookId;

    /**
     * 月份（格式：yyyy-MM）
     */
    @NotBlank(message = "月份不能为空")
    @Schema(description = "月份（格式：yyyy-MM）", required = true, example = "2024-04")
    private String month;

    /**
     * 员工ID（可选，不传则查询所有员工）
     */
    @Schema(description = "员工ID（可选）")
    private String userId;
}
