package com.yuchen.saas.flow.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;

import java.util.Date;

/**
 * <p>
 * 流程节点记录-执行人
 * </p>
 *
 * @author zhouhanwei
 * @since 2024-02-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("saas_flow_process_instance_assign_user_record")
@ApiModel(value="SaasFlowProcessInstanceAssignUserRecord对象", description="流程节点记录-执行人")
public class SaasFlowProcessInstanceAssignUserRecord extends BaseEntity {

    /**
     * 流程id
     */
    @ApiModelProperty(name = "flowId", value = "流程id")
    private String flowId;
    /**
     * 流程实例id
     */
    @ApiModelProperty(name = "processInstanceId", value = "流程实例id")
    private String processInstanceId;
    /**
     * 表单数据
     */
    @ApiModelProperty(name = "data", value = "表单数据")
    private String data;
    private String nodeId;
    /**
     *  用户id
     */
    @ApiModelProperty(name = "userId", value = " 用户id")
    private String userId;
    /**
     * 节点状态
     */
    @ApiModelProperty(name = "nodeStatus", value = "节点状态")
    private Integer nodeStatus;
    /**
     * 开始时间
     */
    @ApiModelProperty(name = "startTime", value = "开始时间")
    private Date startTime;
    /**
     * 结束时间
     */
    @ApiModelProperty(name = "endTime", value = "结束时间")
    private Date endTime;
    /**
     * 执行id
     */
    @ApiModelProperty(name = "executionId", value = "执行id")
    private String executionId;
    /**
     *  任务id
     */
    @ApiModelProperty(name = "taskId", value = " 任务id")
    private String taskId;
    /**
     * 审批意见
     */
    @ApiModelProperty(name = "approveDesc", value = "审批意见")
    private String approveDesc;
    /**
     *  节点名称
     */
    @ApiModelProperty(name = "nodeName", value = " 节点名称")
    private String nodeName;
    /**
     * 任务类型
     */
    @ApiModelProperty(name = "taskType", value = "任务类型")
    private String taskType;
    /**
     * 表单本地数据
     */
    @ApiModelProperty(name = "localData", value = "表单本地数据")
    private String localData;



}
