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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotNull;

/**
 * 签署业务流程实例，更新审批的关联文档阅读状态入参
 *
 * @author wangli
 * @since 2025-04-08 14:50
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel("签署业务流程实例，更新审批的关联文档阅读状态入参")
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class ChangeApproverReadStatusDTO extends ApproverReadStatusDTO {
    /**
     * 文档ID
     */
    @ApiModelProperty(value = "文档 ID")
    @NotNull(message = "文档 ID 不能为空")
    private Long docId;

    @ApiModelProperty(value = "阅读状态")
    @NotNull(message = "阅读状态不能为空")
    private Boolean readStatus;
}
