package org.jeecg.modules.flowable.domain.vo; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import lombok.Data; import org.jeecg.common.aspect.annotation.Dict; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; /** * 工作流历史记录(通用) * */ @Data @ApiModel("工作流--工作流历史记录(通用)") public class FlowHistoricalVo { /** * 流程实例ID */ private String procInstId; /** * 业务键 */ private String businessKey; /** * 流程开始时间 */ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") private Date startTime; /** * 流程结束时间 */ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") private Date endTime; /** * 节点名称 */ private String actName; /** * 节点类型 */ private String actType; /** * 节点开始时间 */ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") private Date actStartTime; /** * 节点结束时间 */ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") private Date actEndTime; /** * 任务名称 */ private String taskName; /** * 处理人 */ @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") private String assignee; /** * 任务耗时 */ private String duration; /** * 任务描述 */ private String description; /** * 处理结果 */ private String sequenceFlowName; }