package com.njcn.rdms.module.project.controller.admin.project.execution.vo.assignee;

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.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 执行协办人变更历史分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
public class ExecutionAssigneeLogPageReqVO extends PageParam {

    @Schema(description = "事件类型多选；不传表示全部",
            example = "[\"join\",\"inactive\",\"owner_transfer_in\",\"owner_transfer_out\"]")
    private List<String> actionTypes;

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

    @Schema(description = "起始时间（含），按 actionTime 比较")
    private LocalDateTime startTime;

    @Schema(description = "截止时间（含），按 actionTime 比较")
    private LocalDateTime endTime;

}
