package com.casic.missiles.dto.workbench;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description: 審批提醒消息请求实体
 * @Author: wangpeng
 * @Date: 2023/4/21 16:43
 */
@ApiModel
@Data
public class ApprovalMessageUpdateRequest {
//    @NotNull(message = "id不能为空")
    @ApiModelProperty(value = "主键id（待审批处理时该字段为空）", dataType = "Long")
    private Long id;

    @NotNull(message = "更新状态不能为空")
    @ApiModelProperty(value = "状态（1已读0未读）", dataType = "Integer", required = true)
    private Integer status;

    @ApiModelProperty(value = "表单id（待审批处理时传该参数）", dataType = "String")
    private String formId;

    @ApiModelProperty(value = "业务主键id（待审批处理时传该参数）", dataType = "String")
    private String businessId;

    @ApiModelProperty(value = "流程实例id（待审批处理时传该参数）", dataType = "String")
    private String processId;

    @ApiModelProperty(value = "任务id（待审批处理时传该参数）", dataType = "String")
    private String taskId;

    @ApiModelProperty(value = "可选决策项（待审批处理时传该参数）", dataType = "Integer")
    private Integer decisionItem;
}
