package org.jeecg.modules.flowable.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import org.jeecg.modules.flowable.apithird.business.entity.FlowForm;

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

/**
 * <p>工作流任务<p>
 *
 */
@Data
public class FlowTaskDto implements Serializable {
    private String taskId;
    private String taskName;
    private String taskDefKey;
    private String assigneeId;
    private String deptName;
    private String startDeptName;
    private String assigneeName;
    private String startUserId;
    private String startUserName;
    private String category;
    private Object procVars;
    private Object taskLocalVars;
    private String deployId;
    private String procDefId;
    private String procDefKey;
    private String procDefName;
    private int procDefVersion;
    private String procInsId;
    private String hisProcInsId;

    private String duration;
    private FlowCommentDto comment;

    private String candidate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date finishTime;
    private String taskType;

    private String dataId;
    private String dataName;
    private String FormKey;
    /** 表单类别 */
    private String formTp;
    /** 表单内容 */
    private FlowForm formContent;
    /** 表单URL */
    private String formUrl;
    private boolean nodeisApprove;

}
