package com.huigou.bpm.management.domain.model;

import com.huigou.data.domain.model.AbstractEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author yonghuan
 */
@Getter
@Setter
@Table(name = "tbpm_service_mapping")
@Entity
public class ServiceMapping extends AbstractEntity {

    /**
     * 服务注册id
     */
    @Column(name = "service_id")
    private String serviceId;
    /**
     * 流程定义id
     */
    @Column(name = "procdef_id")
    private String procdefId;
    /**
     * 流程图中活动的编码
     */
    @Column(name = "activity_code")
    private String activityCode;

}
