chore: src/modules/dict/entity/type.ts
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
import { BaseEntity } from '../../base/entity/base';
|
||||||
|
import { Column, Entity } from 'typeorm';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字典类别
|
||||||
|
*/
|
||||||
|
@Entity('dict_type')
|
||||||
|
export class DictTypeEntity extends BaseEntity {
|
||||||
|
@Column({ comment: '名称' })
|
||||||
|
name: string;
|
||||||
|
|
||||||
|
@Column({ comment: '标识' })
|
||||||
|
key: string;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user