package com.mortals.xhx.feign.rsp;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 流程定义类
 *
 * @author: zxfei
 * @date: 2021/8/24 22:29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FlowProcDef implements Serializable {
    /**
     * 流程定义id
     */
    private String id;
    /**
     * 流程名称
     */
    private String name;
    /**
     * 流程key
     */
    private String key;
    /**
     * 流程key
     */
    private String processDefinitionKey;
    /**
     * 流程分类
     */
    private String category;

    /**
     * 版本
     */
    private int version;
    /**
     * 流程部署id
     */
    private String deployId;

    /**
     * 流程部署id
     */
    private String deploymentId;
    /**
     * 流程定义状态: 1:激活 , 2:中止
     */
    private int suspensionState;
    /**
     * 部署时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deploymentTime;

}
