import { Entity, Column } from 'typeorm';
import { BaseEntity } from '@cool-midway/core';

@Entity('config_data_table')
export class DataTableEntity extends BaseEntity {
  @Column({ comment: '表名称' })
  name: string;

  @Column({ comment: '表描述' })
  description: string;

  @Column({ comment: '数据源ID', type: 'int', nullable: true })
  sourceId: number;
}
