package com.codvision.workflow.entity;

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

import java.io.Serializable;

/**
 * @author hxl
 */
@Data
@ApiModel
public class WorkFlowDefinition implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("流程id")
    private String id;

    @ApiModelProperty("流程名称")
    private String name;

    @ApiModelProperty("流程key")
    private String flowKey;

    @ApiModelProperty("流程分类")
    private String category;

    @ApiModelProperty("表单ID")
    private Integer formId;

    @ApiModelProperty("表单名称")
    private String formName;

    @ApiModelProperty("版本")
    private int version;

    @ApiModelProperty("部署ID")
    private String deploymentId;

    @ApiModelProperty("流程定义状态: 1:激活, 2:中止")
    private int suspensionState;

    @ApiModelProperty("最新更新时间")
    private String latestUpdateTime;
}
