package com.njcn.rdms.module.project.controller.admin.project.task.vo.worklog;

import com.njcn.rdms.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

@Schema(description = "管理后台 - 任务工时分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
public class TaskWorklogPageReqVO extends PageParam {

    @Schema(description = "填报人用户编号；不传表示全部")
    private Long userId;

    @Schema(description = "查询区间起始日期（含），按段相交过滤（record.endDate >= startDate）")
    private LocalDate startDate;

    @Schema(description = "查询区间截止日期（含），按段相交过滤（record.startDate <= endDate）")
    private LocalDate endDate;

    @Schema(description = "完成难度字典 rdms_worklog_difficulty 值；不传表示全部",
            example = "3")
    private String difficulty;

}
