This commit is contained in:
vastxie
2025-05-31 02:28:46 +08:00
parent 0f7adc5c65
commit 86e2eecc1f
1808 changed files with 183083 additions and 86701 deletions

View File

@@ -0,0 +1,23 @@
import { BaseEntity } from 'src/common/entity/baseEntity';
import { Column, Entity } from 'typeorm';
@Entity({ name: 'user_apps' })
export class UserAppsEntity extends BaseEntity {
@Column({ comment: '用户ID' })
userId: number;
@Column({ comment: '应用ID' })
appId: number;
@Column({ comment: 'app类型 system/user', default: 'user' })
appType: string;
@Column({ comment: '是否公开到公告菜单', default: false })
public: boolean;
@Column({ comment: 'app状态 1正常 2审核 3违规', default: 1 })
status: number;
@Column({ comment: 'App应用排序、数字越大越靠前', default: 100 })
order: number;
}