import { IncrementIdEntity } from 'src/common/entities/increment-id.entity';
import { Column, Entity } from 'typeorm';

/**
 * 资源类型
 */
@Entity()
export class ResourceClassify extends IncrementIdEntity {
  @Column({ comment: '类型名称' })
  name: string;

  @Column({ default: 0, comment: '上级类型' })
  pid: number;
}
