无关风月
2025-03-07 e7c9817ea941cbba5391bd2f9155c1bbb71ff53e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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;
 
}