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; }