chore: src/modules/space/entity/type.ts

This commit is contained in:
2026-07-01 17:57:15 +08:00
parent 6d4b3aef6d
commit 0b8abc2768
+14
View File
@@ -0,0 +1,14 @@
import { BaseEntity } from '../../base/entity/base';
import { Column, Entity } from 'typeorm';
/**
* 图片空间信息分类
*/
@Entity('space_type')
export class SpaceTypeEntity extends BaseEntity {
@Column({ comment: '类别名称' })
name: string;
@Column({ comment: '父分类ID', nullable: true })
parentId: number;
}