package com.njcn.rdms.module.project.controller.admin.overtime.team.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

import static com.njcn.rdms.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;

@Schema(description = "管理后台 - 团队业务学习统计 Request VO")
@Data
public class TeamOvertimeSummaryReqVO {

    @Schema(description = "学习日期区间起始（不传默认当月第一天）", example = "2026-06-01")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate overtimeDateStart;

    @Schema(description = "学习日期区间结束（不传默认当月最后一天）", example = "2026-06-30")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate overtimeDateEnd;
}
