package com.yeejoin.amos.boot.module.ugp.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yeejoin.amos.boot.biz.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tz_ugp_process_relation")
public class ProcessRelation extends BaseEntity {

    /**
     * 源id
     */
    @TableField("source_id")
    private Long sourceId;
    /**
     * 流程实例id
     */
    @TableField("instance_id")
    private String instanceId;
    /**
     * 流程状态
     */
    @TableField("status")
    private String status;
    /**
     * 流程定义编码
     */
    @TableField("def_code")
    private String defCode;
    /**
     * 流程名称
     */
    @TableField("def_name")
    private String defName;

}
