package org.security.ht.entity.common;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: qxqx
 * @Create: 2022/9/6
 * @Description: 审批流实体
 */
@Data
public class FlowEntity extends BaseEntity {

	/**
	 * 状态 (0-任务未审批状态,1-任务审批中状态,2-任务审批完成状态（已审批完毕，或无需审批的任务自行进行确认）,3-任务审批驳回状态)
	 */
	@ApiModelProperty(value = "状态")
	@TableField("STATE")
	private String state;

	/**
	 * 流程定义id
	 */
	@ApiModelProperty(value = "流程定义id")
	@TableField("PROCESS_DEFINITION_ID")
	private String processDefinitionId;
	/**
	 * 流程实例id
	 */
	@ApiModelProperty(value = "流程实例id")
	@TableField("PROCESS_INSTANCE_ID")
	private String processInstanceId;
}
