package cn.iocoder.yudao.module.bpm.dal.dataobject.definition;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

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


@TableName("bpm_task_copy")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TaskCopyDO extends BaseDO {

    /**
     * 主键
     */
    @TableId
    private Long id;
    /**
     * 节点id
     */
    private String taskId;
    /**
     * 流程模型的编号
     */
    private String modelId;
    /**
     * 流程id
     */
    private String processInstanceId;
    /**
     * 流程定义的编号
     */
    private String processDefinitionId;
    /**
     * 是否当前最新，0-是，1-否
     */
    private Integer currentFlag;

    private Integer sort;

}
