REQ-3769 调整流程业务相关模型
This commit is contained in:
parent
f9d090dec6
commit
f606253c2a
@ -0,0 +1,18 @@
|
||||
package cn.axzo.workflow.common.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Getter
|
||||
public enum BusinessTypeEnum {
|
||||
|
||||
SIGN("sign", "签署业务"),
|
||||
|
||||
APPROVAL("approval", "审批业务");
|
||||
|
||||
private String type;
|
||||
private String desc;
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
package cn.axzo.workflow.common.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 模版上变量字段类型
|
||||
*/
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Getter
|
||||
public enum VarTypeEnum {
|
||||
|
||||
TEXT("text", "文本"),
|
||||
|
||||
PICTURE("picture", "图片");
|
||||
|
||||
private String type;
|
||||
private String desc;
|
||||
}
|
||||
@ -1,6 +1,7 @@
|
||||
package cn.axzo.workflow.core.repository.entity;
|
||||
|
||||
import cn.axzo.framework.data.mybatisplus.model.BaseEntity;
|
||||
import cn.axzo.workflow.common.enums.BusinessTypeEnum;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
@ -12,6 +13,7 @@ import lombok.ToString;
|
||||
@Data
|
||||
@ToString(callSuper = true)
|
||||
public class ExtAxDict extends BaseEntity<ExtAxDict> {
|
||||
private static final long serialVersionUID = 720139149636794190L;
|
||||
/**
|
||||
* 编号,自增
|
||||
*/
|
||||
@ -62,4 +64,14 @@ public class ExtAxDict extends BaseEntity<ExtAxDict> {
|
||||
* 工作台类型值
|
||||
*/
|
||||
private String workspaceTypeCode;
|
||||
|
||||
/**
|
||||
* 图标
|
||||
*/
|
||||
private String icon;
|
||||
|
||||
/**
|
||||
* 业务类型
|
||||
*/
|
||||
private BusinessTypeEnum businessType;
|
||||
}
|
||||
|
||||
@ -0,0 +1,23 @@
|
||||
package cn.axzo.workflow.core.repository.entity;
|
||||
|
||||
import cn.axzo.framework.data.mybatisplus.model.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.ToString;
|
||||
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName(value = "ext_ax_dict_group", autoResultMap = true)
|
||||
@Data
|
||||
@ToString(callSuper = true)
|
||||
public class ExtAxDictGroup extends BaseEntity<ExtAxDictGroup> {
|
||||
|
||||
private static final long serialVersionUID = 7133194071098740752L;
|
||||
|
||||
private Long parentGroupId;
|
||||
|
||||
/**
|
||||
* 分组名
|
||||
*/
|
||||
private String groupName;
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
package cn.axzo.workflow.core.repository.entity;
|
||||
|
||||
import cn.axzo.framework.data.mybatisplus.model.BaseEntity;
|
||||
import cn.axzo.workflow.common.enums.VarTypeEnum;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.ToString;
|
||||
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName(value = "ext_ax_dict_group_variables", autoResultMap = true)
|
||||
@Data
|
||||
@ToString(callSuper = true)
|
||||
public class ExtAxDictGroupVariables extends BaseEntity<ExtAxDictGroupVariables> {
|
||||
|
||||
private static final long serialVersionUID = 2910796107844751820L;
|
||||
|
||||
/**
|
||||
* 分组id
|
||||
*/
|
||||
private Long groupId;
|
||||
|
||||
/**
|
||||
* 变量类型,文本/图片
|
||||
*/
|
||||
private VarTypeEnum type;
|
||||
|
||||
/**
|
||||
* 变量code
|
||||
*/
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 变量名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user