package cn.axzo.workflow.common.model.request.bpmn.process.doc;

import cn.axzo.workflow.common.model.request.bpmn.task.BpmnTaskDelegateAssigner;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 签署业务流程实例，查询审批的关联文档阅读状态入参
 *
 * @author wangli
 * @since 2025-04-08 11:27
 */
@ApiModel("签署业务流程实例，查询审批的关联文档阅读状态入参")
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class ApproverReadStatusDTO {

    /**
     * 流程实例 ID
     */
    @ApiModelProperty(value = "流程实例 ID")
    @NotBlank(message = "流程实例 ID 不能为空")
    private String processInstanceId;

    /**
     * 访问人
     */
    @ApiModelProperty(value = "访问人")
    @NotNull(message = "访问人信息不能为空")
    private BpmnTaskDelegateAssigner assigner;
}
