pbl_domain_ext/models/pbl_class.json

108 lines
1.9 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"summary": [
{
"name": "pbl_class",
"comment": "班级(花名册内联 roster_json",
"module": "pbl_domain_ext",
"engine": "mariadb",
"charset": "utf8mb4",
"tenant_scoped": true
}
],
"fields": [
{
"name": "tenant_id",
"comment": "租户ID(强制打头)",
"null": false,
"type": "str",
"length": 32
},
{
"name": "id",
"comment": "主键",
"null": false,
"type": "int",
"length": 20,
"unsigned": true,
"auto_increment": true
},
{
"name": "class_uid",
"comment": "班级UID",
"null": false,
"type": "str",
"length": 32
},
{
"name": "name",
"comment": "名称",
"null": false,
"type": "str",
"length": 128
},
{
"name": "grade",
"comment": "年级",
"null": false,
"type": "str",
"length": 64
},
{
"name": "teacher_id",
"comment": "教师",
"null": false,
"type": "str",
"length": 32
},
{
"name": "student_count",
"comment": "学生数",
"null": false,
"type": "int"
},
{
"name": "roster_json",
"comment": "花名册",
"null": true,
"type": "json"
},
{
"name": "status",
"comment": "状态",
"null": false,
"type": "str",
"length": 64
},
{
"name": "created_at",
"comment": "创建时间",
"null": false,
"type": "datetime"
},
{
"name": "updated_at",
"comment": "更新时间",
"null": false,
"type": "datetime"
}
],
"indexes": [
{
"name": "uk_cls_uid",
"unique": true,
"fields": [
"tenant_id",
"class_uid"
]
},
{
"name": "PRIMARY",
"unique": true,
"fields": [
"id"
]
}
],
"codes": []
}