/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.security.trans.flow.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.security.ht.entity.common.BaseEntity;

/**
 * 流程-流程节点表实体类
 *
 * @author BladeX
 * @since 2022-03-29
 */
@Data
@TableName("T_FLOW_NODE")
@ApiModel(value = "FlowNode对象", description = "流程-流程节点表")
public class FlowNode extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* ID
	*/
		@ApiModelProperty(value = "ID")
		@TableId("ID")
	private String id;
	/**
	* 流程关联id
	*/
		@ApiModelProperty(value = "流程关联id")
		@TableField("FLOW_ID")
	private String flowId;
	/**
	* 流程节点名称
	*/
		@ApiModelProperty(value = "流程节点名称")
		@TableField("FLOW_NODE_NAME")
	private String flowNodeName;
	/**
	* 上一节点id
	*/
		@ApiModelProperty(value = "上一节点id")
		@TableField("PRE_NODE_ID")
	private String preNodeId;
	/**
	* 下一节点id
	*/
		@ApiModelProperty(value = "下一节点id")
		@TableField("NEXT_NODE_ID")
	private String nextNodeId;
	/**
	* 角色id
	*/
		@ApiModelProperty(value = "角色id")
		@TableField("FLOW_ROLE_ID")
	private String flowRoleId;
	/**
	* 是否为流程分叉节点;0-否，1-是
	*/
		@ApiModelProperty(value = "是否为流程分叉节点;0-否，1-是")
		@TableField("CHILD_NODE_TYPE")
	private String childNodeType;


}
