hr-system/models/hr_flow/flow_def.json

112 lines
2.0 KiB
JSON

{
"summary": [
{
"name": "flow_def",
"title": "流程定义",
"pk": [
"id"
],
"charset": "utf8mb4",
"collate": "utf8mb4_unicode_ci"
}
],
"fields": [
{
"name": "id",
"title": "主键",
"type": "varchar",
"length": 32,
"notnull": true
},
{
"name": "flow_code",
"title": "流程编码",
"type": "varchar",
"length": 64,
"notnull": true
},
{
"name": "flow_name",
"title": "流程名称",
"type": "varchar",
"length": 128,
"notnull": true
},
{
"name": "form_id",
"title": "表单定义",
"type": "varchar",
"length": 32
},
{
"name": "biz_type",
"title": "业务类型(字典FLOW_BIZ_TYPE)",
"type": "varchar",
"length": 32
},
{
"name": "match_cond_json",
"title": "匹配条件(员工类型/部门)",
"type": "text"
},
{
"name": "version",
"title": "版本",
"type": "int",
"default": 1
},
{
"name": "status",
"title": "状态 active/inactive",
"type": "varchar",
"length": 16,
"notnull": true,
"default": "active"
},
{
"name": "created_by",
"title": "创建人",
"type": "varchar",
"length": 32
},
{
"name": "updated_by",
"title": "更新人",
"type": "varchar",
"length": 32
},
{
"name": "created_at",
"title": "创建时间",
"type": "timestamp"
},
{
"name": "updated_at",
"title": "更新时间",
"type": "timestamp"
}
],
"indexes": [
{
"name": "uk_flow_code",
"fields": [
"flow_code"
],
"unique": true
},
{
"name": "idx_biz_type",
"fields": [
"biz_type"
]
}
],
"codes": [
{
"name": "biz_type",
"source": "appcodes",
"code": "FLOW_BIZ_TYPE"
}
]
}