package cn.iocoder.yudao.module.bpm.controller.admin.definition.vo.copy;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author: jinyd
 * @CreateTime: 2024/9/25  15:57
 * @Description:
 * @Version: 4.0
 */

@Schema(description = "管理后台 - 抄送节点信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TaskCopyRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "29705")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "节点id", example = "15615")
    @ExcelProperty("节点id")
    private Long taskId;

    @Schema(description = "流程模型的编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "6522")
    @ExcelProperty("流程模型的编号")
    private String modelId;

    @Schema(description = "流程id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1486")
    @ExcelProperty("流程id")
    private String processInstanceId;

    @Schema(description = "流程定义的编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "22631")
    @ExcelProperty("流程定义的编号")
    private String processDefinitionId;

    @Schema(description = "是否当前最新，0-是，1-否", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否当前最新，0-是，1-否")
    private Integer currentFlag;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
