feat:初始化 -融骅

This commit is contained in:
2023-10-17 09:15:30 +08:00
parent c9ff84e6a2
commit 405e152b38
1190 changed files with 138344 additions and 455 deletions

View File

@@ -0,0 +1,28 @@
import { IncrementIdEntity } from 'src/common/entities/increment-id.entity';
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
/**
* 在线教学课件
*/
@Entity()
export class LiveClassify {
@PrimaryGeneratedColumn('increment')
id: number;
@Column({ comment: '父级ID' })
pid: number;
@Column({ comment: '分类名称', type: 'text' })
name: string;
@Column({ comment: '层级' })
level: number;
@Column({
default: 0,
select: false,
name: 'del_flag',
comment: '是否删除0否/1是',
})
delFlag: number;
}