hr-system/models/hr_org/org_job.json

108 lines
1.9 KiB
JSON

{
"summary": [
{
"name": "org_job",
"title": "职务(含F17横向职务)",
"pk": [
"id"
],
"charset": "utf8mb4",
"collate": "utf8mb4_unicode_ci"
}
],
"fields": [
{
"name": "id",
"title": "主键",
"type": "varchar",
"length": 32,
"notnull": true
},
{
"name": "job_code",
"title": "职务编码",
"type": "varchar",
"length": 32,
"notnull": true
},
{
"name": "job_name",
"title": "职务名称",
"type": "varchar",
"length": 64,
"notnull": true
},
{
"name": "job_category",
"title": "职务类别(vertical/horizontal,F17)",
"type": "varchar",
"length": 16,
"notnull": true,
"default": "vertical"
},
{
"name": "status",
"title": "状态 active/inactive",
"type": "varchar",
"length": 16,
"notnull": true,
"default": "active"
},
{
"name": "sort_no",
"title": "排序号",
"type": "int",
"default": 0
},
{
"name": "remark",
"title": "备注",
"type": "text"
},
{
"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_job_code",
"fields": [
"job_code"
],
"unique": true
},
{
"name": "idx_job_category",
"fields": [
"job_category"
]
}
],
"codes": [
{
"name": "job_category",
"source": "appcodes",
"code": "JOB_CATEGORY"
}
]
}