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

/**
 * 训练类型
 */
@Entity()
export class TrainType extends IncrementIdEntity {
  @Column({ comment: '分类名' })
  name: string;

  @Column({ comment: '父类id' })
  pid: number;
}
