/*
 *      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.FieldFill;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 流程-流程历史记录表实体类
 *
 * @author BladeX
 * @since 2022-03-29
 */
@Data
@TableName("T_FLOW_HISTORY")
@ApiModel(value = "FlowHistory对象", description = "流程-流程历史记录表")
public class FlowHistory implements Serializable {

	private static final long serialVersionUID = 1L;
	/**
	 * 创建人
	 */
	@ApiModelProperty(value = "创建人")
	@TableField(fill = FieldFill.INSERT)
	private String createdBy;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	@TableField(fill = FieldFill.INSERT)
	private Date createdTime;
	/**
	 * 更新人
	 */
	@ApiModelProperty(value = "更新人")
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private String updatedBy;
	/**
	 * 更新时间
	 */
	@ApiModelProperty(value = "更新时间")
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updatedTime;
	/**
	* ID
	*/
		@ApiModelProperty(value = "ID")
		@TableId("ID")
	private String id;
	/**
	* 流程关联id
	*/
		@ApiModelProperty(value = "流程关联id")
		@TableField("FLOW_ID")
	private String flowId;
	/**
	* 流程节点id
	*/
		@ApiModelProperty(value = "流程节点id")
		@TableField("FLOW_NODE_ID")
	private String flowNodeId;
	/**
	* 流程节点名称
	*/
		@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;
	/**
	* 业务数据关联id
	*/
		@ApiModelProperty(value = "业务数据关联id")
		@TableField("BUSINESS_LINK_ID")
	private String businessLinkId;
	/**
	* 是否为当前节点状态;0-否，1-是
	*/
		@ApiModelProperty(value = "是否为当前节点状态;0-否，1-是")
		@TableField("CURRENT_NODE_FLAG")
	private String currentNodeFlag;
	/**
	 * 是否是被智能驳回后的节点(0-否，1-是)
	 */
	@ApiModelProperty(value = "是否是被智能驳回后的节点(0-否，1-是)")
	@TableField("REFUSE_FLAG")
	private String refuseFlag;
	/**
	 * 审批状态;0-驳回，1-通过
	 */
	@ApiModelProperty(value = "审批状态;0-驳回，1-通过")
	@TableField("APPROVE_STATUS")
	private String approveStatus;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	@TableField("REMARKS")
	private String remarks;



}
