package com.chinaweal.aiccs.aiccs.auditing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 工作流涉及主体分类关联表
 * </p>
 *
 * @author <a href="https://blog.lroyia.top">lroyia</a>
 * @since 2021-02-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ts_task_list_enter_type")
public class TSTaskListEnterType extends Model<TSTaskListEnterType> {

    private static final long serialVersionUID=1L;

    /**
     * 工作流id
     */
    @TableId(value = "uid", type = IdType.ASSIGN_UUID)
    private String uid;

    /**
     * 工作流id
     */
    @TableField("workflow_id")
    private String workflowId;

    /**
     * 主体类型
     */
    @TableField("enter_type")
    private String enterType;


    @Override
    protected Serializable pkVal() {
        return this.uid;
    }

}
