package cn.iocoder.yudao.module.hrm.controller.admin.attendance.vo;
|
|
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.ToString;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.time.LocalDate;
|
|
@Schema(description = "管理后台 - 考勤统计汇总分页 Request VO")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
public class HrmAttendanceSummaryPageReqVO extends PageParam {
|
|
@Schema(description = "员工ID", example = "1")
|
private Long userId;
|
|
@Schema(description = "员工姓名(模糊匹配,与 userId 同时传时取交集)", example = "任伟")
|
private String userName;
|
|
@Schema(description = "部门ID", example = "1")
|
private Long deptId;
|
|
@Schema(description = "年月,格式:yyyy-MM", example = "2024-01")
|
private String yearMonth;
|
|
@Schema(description = "统计开始日期(传了按日区间统计,实时聚合打卡记录,不读月度汇总表)", example = "2026-10-01")
|
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
private LocalDate startDate;
|
|
@Schema(description = "统计结束日期(不传时默认取 startDate 所在月月末)", example = "2026-10-15")
|
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
private LocalDate endDate;
|
|
}
|