This commit is contained in:
那些花儿
2025-07-30 15:19:03 +08:00
parent 65b7960783
commit 73974dbdd3
32 changed files with 1403 additions and 388 deletions
@@ -0,0 +1,28 @@
package com.budwk.app.flow.entity;
import com.budwk.app.base.model.BaseModel;
import lombok.Getter;
import lombok.Setter;
import org.nutz.dao.entity.annotation.*;
@Getter
@Setter
@Table("wf_process_category")
@Comment("流程分类")
public class ProcessCategory extends BaseModel {
@Id
@Comment("ID")
private Long id;
@Comment("名称")
@Column
@ColDefine(type = ColType.VARCHAR, width = 10)
private String name;
@Comment("图标")
@Column
@ColDefine(type = ColType.VARCHAR, width = 255)
private String icon;
}
@@ -1,5 +1,6 @@
package com.budwk.app.flow.entity;
import cn.hutool.extra.pinyin.PinyinUtil;
import cn.hutool.json.JSONObject;
import com.budwk.app.base.model.BaseModel;
import lombok.Getter;
@@ -72,4 +73,9 @@ public class ProcessDefine extends BaseModel {
@Column
private Integer version;
@Comment
@Column
@ColDefine(type = ColType.CHAR)
private Character pinyinName;
}