package cn.axzo.workflow.core.repository.entity;

import cn.axzo.framework.data.mybatisplus.model.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 扩展的 bpmn 模型与表单模型的关系表
 *
 * @author wangli
 * @since 2024-11-04 15:35
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "ext_ax_bpmn_form_relation", autoResultMap = true)
@Data
@ToString(callSuper = true)
public class ExtAxBpmnFormRelation extends BaseEntity<ExtAxBpmnFormRelation> {
    private static final long serialVersionUID = 1L;
    /**
     * 业务标识
     */
    @TableField(value = "`key`")
    private String key;
    /**
     * bpmn 模型 ID
     */
    private String bpmnDefinitionId;
    /**
     * 发布的定义 ID
     */
    private String formDeploymentId;
    /**
     * 租户 ID
     */
    private String tenantId;
    /**
     * 创建者
     */
    private Long createBy;

    /**
     * 更新者
     */
    private Long updateBy;
}
