package com.bbd.bpm.domain;

import com.bbd.bpm.base.BaseEntity;
import lombok.Data;

import javax.persistence.*;

/**
 * @ClassName ActReModel
 * @Description 流程表
 * @Author cwd
 * @Date 2019/4/3 13:59
 * @Version 1.0
 **/
@Entity
@Table(name = "acr_re_model")
@Data
public class ActReModelEntity extends BaseEntity{
    @Id
    @GeneratedValue(strategy= GenerationType.AUTO)
    @Column(name = "ID_")
    private Long id;

    @Column(name = "REV_")
    private String revision;

    @Column(name = "NAME_")
    private String name;

    @Column(name = "KEY_")
    private String KEY_;

    @Column(name = "CATEGORY_")
    private String category;

    @Column(name = "VERSION_")
    private Integer version;

    @Column(name = "META_INFO_")
    private String metaInfo;

    @Column(name ="DEPLOYMENT_ID_" )
    private String deploymentId;

    @Column(name = "EDITOR_SOURCE_VALUE_ID_")
    private String editorSourceValueId;

    @Column(name = "EDITOR_SOURCE_EXTRA_VALUE_ID_")
    private String editorSourceExtraValueId;

    @Column(name = "TENANT_ID_")
    private String tenantId;
}
