wangzhibo
2026-07-16 bac4362a0b7726d38a23d38f0d7913f2c2bab262
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { BaseEntity } from '../../base/entity/base';
import { Column, Entity } from 'typeorm';
 
/**
 * 字典信息
 */
@Entity('dict_info')
export class DictInfoEntity extends BaseEntity {
  @Column({ comment: '类型ID' })
  typeId: number;
 
  @Column({ comment: '名称' })
  name: string;
 
  @Column({ comment: '值', nullable: true })
  value: string;
 
  @Column({ comment: '排序', default: 0 })
  orderNum: number;
 
  @Column({ comment: '备注', nullable: true })
  remark: string;
 
  @Column({ comment: '父ID', default: null })
  parentId: number;
}