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

/**
 * 科目
 */
@Entity()
export class SubjectHasDevice extends IncrementIdEntity {
  @Column({ comment: '科目Id' })
  subject: number;
  @Column({ comment: '设备Id' })
  device: number;
}
