chore: src/modules/dict/entity/type.ts

This commit is contained in:
2026-07-01 17:56:45 +08:00
parent 392cbf59ba
commit f91e85b500
+14
View File
@@ -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;
}