{ "summary": [ { "name": "pbl_team", "comment": "团队(成员内联 members_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": "team_uid", "comment": "团队UID", "null": false, "type": "str", "length": 32 }, { "name": "class_id", "comment": "班级", "null": false, "type": "bigint" }, { "name": "name", "comment": "名称", "null": false, "type": "str", "length": 128 }, { "name": "mission_id", "comment": "Mission", "null": false, "type": "bigint" }, { "name": "members_json", "comment": "成员", "null": true, "type": "json" }, { "name": "capacity", "comment": "容量", "null": false, "type": "int" }, { "name": "status", "comment": "状态", "null": false, "type": "str", "length": 64 }, { "name": "session_id", "comment": "绑定会话", "null": false, "type": "bigint" }, { "name": "created_at", "comment": "创建时间", "null": false, "type": "datetime" }, { "name": "updated_at", "comment": "更新时间", "null": false, "type": "datetime" } ], "indexes": [ { "name": "uk_team_uid", "unique": true, "fields": [ "tenant_id", "team_uid" ] }, { "name": "idx_team_class", "unique": false, "fields": [ "tenant_id", "class_id" ] }, { "name": "PRIMARY", "unique": true, "fields": [ "id" ] } ], "codes": [] }