package com.casic.missiles.dto;

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

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

/**
 * @Description: 文件提交请求实体
 * @Author: wangpeng
 * @Date: 2022/12/14 17:13
 */
@ApiModel
@Data
public class BaseApprovalSubmitRequest {
    /**
     * id
     */
    @NotNull(message = "主键id不能为空")
    @ApiModelProperty(value = "主键id", dataType = "Long")
    private Long id;

    /**
     * 表单id
     */
    @NotBlank(message = "表单id不能为空")
    @ApiModelProperty(value = "表单id（流程定义对应的表单id，等价于业务id）", dataType = "String")
    private String formId;

    @ApiModelProperty(value = "流程实例id（已取消中的提交时必传）", dataType = "String")
    private String processId;

}
