package com.casic.missiles.dto.system;

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/13 18:12
 */
@Data
@ApiModel("流程定义激活/挂起请求实体")
public class FlowUpdateStateRequest {
    @NotBlank(message = "流程部署id不能为空")
    @ApiModelProperty("流程部署id")
    private String deployId;

    @NotNull(message = "变更状态不能为空")
    @ApiModelProperty("变更状态（1:激活,2:挂起）")
    private Integer state;
}
