package com.casic.missiles.dto.system;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Description: 流程定义列表请求实体
 * @Author: wangpeng
 * @Date: 2022/12/12 18:12
 */
@Data
@ApiModel("流程定义列表请求实体")
public class FlowListRequest {
    @ApiModelProperty("流程id")
    private String id;

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

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

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

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

    @ApiModelProperty("配置表单id")
    private String formId;
//
//    @ApiModelProperty("流程负责人id")
//    private Long directorId;

    @ApiModelProperty("流程负责人名字")
    private String directorName;

//    @ApiModelProperty("版本")
//    private int version;
//
//    @ApiModelProperty("部署ID")
//    private String deploymentId;

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

    @ApiModelProperty("部署时间(开始)")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String deploymentStartTime;

    @ApiModelProperty("部署时间(结束)")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String deploymentEndTime;

    @ApiModelProperty(value = "筛选ids", dataType = "List")
    private List<String> ids;
}
