chore: src/modules/base/entity/sys/conf.ts
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
import { Column, Index, Entity } from 'typeorm';
|
||||||
|
import { BaseEntity } from '../base';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 系统配置
|
||||||
|
*/
|
||||||
|
@Entity('base_sys_conf')
|
||||||
|
export class BaseSysConfEntity extends BaseEntity {
|
||||||
|
@Index({ unique: true })
|
||||||
|
@Column({ comment: '配置键' })
|
||||||
|
cKey: string;
|
||||||
|
|
||||||
|
@Column({ comment: '配置值' })
|
||||||
|
cValue: string;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user