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_copy")
@ApiModel(value="SaasFlowProcessInstanceCopy对象", description="流程抄送数据")
public class SaasFlowProcessInstanceCopy extends BaseEntity {

    /**
     *  流程发起时间
     */
    @ApiModelProperty(name = "startTime", value = " 流程发起时间")
    private Date startTime;
    /**
     * 当前节点时间
     */
    @ApiModelProperty(name = "nodeTime", value = "当前节点时间")
    private Date nodeTime;
    /**
     * 发起人
     */
    @ApiModelProperty(name = "startUserId", value = "发起人")
    private String startUserId;
    /**
     * 流程id
     */
    @ApiModelProperty(name = "flowId", value = "流程id")
    private String flowId;
    /**
     * 实例id
     */
    @ApiModelProperty(name = "processInstanceId", value = "实例id")
    private String processInstanceId;
    /**
     * 节点id
     */
    @ApiModelProperty(name = "nodeId", value = "节点id")
    private String nodeId;
    /**
     * 分组id
     */
    @ApiModelProperty(name = "groupId", value = "分组id")
    private Long groupId;
    /**
     * 分组名称
     */
    @ApiModelProperty(name = "groupName", value = "分组名称")
    private String groupName;
    /**
     * 流程名称
     */
    @ApiModelProperty(name = "processName", value = "流程名称")
    private String processName;
    /**
     * 节点 名称
     */
    @ApiModelProperty(name = "nodeName", value = "节点 名称")
    private String nodeName;
    /**
     * 表单数据
     */
    @ApiModelProperty(name = "formData", value = "表单数据")
    private String formData;
    /**
     * 抄送人id
     */
    @ApiModelProperty(name = "userId", value = "抄送人id")
    private String userId;


    @ApiModelProperty(name = "projectId", value = "项目id")
    private Long projectId;
}
