From 9c0bfff1512e53dc810b1b227310ea89b4cddf01 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期四, 10 四月 2025 15:27:22 +0800
Subject: [PATCH] bug修改
---
ruoyi-system/src/main/java/com/ruoyi/system/model/StateProcessTemplate.java | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/model/StateProcessTemplate.java b/ruoyi-system/src/main/java/com/ruoyi/system/model/StateProcessTemplate.java
index 8c649b4..fef5305 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/model/StateProcessTemplate.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/model/StateProcessTemplate.java
@@ -1,25 +1,49 @@
package com.ruoyi.system.model;
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.ruoyi.common.core.domain.BaseModel;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
+import lombok.EqualsAndHashCode;
@Data
+@EqualsAndHashCode(callSuper = false)
+@ApiModel(value = "工作流-模版")
@TableName(value = "state_process_template")
public class StateProcessTemplate extends BaseModel {
@TableId(value = "id", type = IdType.ASSIGN_ID)
private String id;
+ @ApiModelProperty(value = "模版标识")
+ @TableField("template_key")
private String templateKey;
+ @ApiModelProperty(value = "版本,默认1")
+ @TableField("template_version")
private Integer templateVersion;
+ @ApiModelProperty(value = "模版名称")
+ @TableField("template_name")
private String templateName;
+ @ApiModelProperty(value = "基础设置")
+ @TableField("settings")
private String settings;
+ @ApiModelProperty(value = "流程定义")
+ @TableField("process")
private String process;
+ @ApiModelProperty(value = "备注")
+ @TableField("remark")
private String remark;
+ @ApiModelProperty(value = "0:停用;1:正常")
+ @TableField("status")
private Integer status;
+ @ApiModelProperty(value = "workflow_id")
+ @TableField("work_flow_id")
private Long workFlowId;
+ @ApiModelProperty(value = "workflow流程版本")
+ @TableField("workflow_version")
private Integer workflowVersion;
}
--
Gitblit v1.7.1