chore: 企业管理模式初步

This commit is contained in:
xiaojunnuo
2026-02-04 15:49:01 +08:00
parent bd511f97cb
commit eb46f8c776
24 changed files with 285 additions and 3 deletions
@@ -17,6 +17,9 @@ export class OpenKeyEntity {
@Column({ name: 'scope', comment: '权限范围' })
scope: string; // open 仅开放接口、 user 用户所有权限
@Column({ name: 'project_id', comment: '项目id' })
projectId: number;
@Column({ name: 'create_time', comment: '创建时间', default: () => 'CURRENT_TIMESTAMP' })
createTime: Date;