mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-02-24 14:00:29 +00:00
17 lines
378 B
TypeScript
17 lines
378 B
TypeScript
import { Column, Index } from 'typeorm';
|
|
import { EntityModel } from '@midwayjs/orm';
|
|
import { BaseEntity } from 'midwayjs-cool-core';
|
|
|
|
/**
|
|
* 系统配置
|
|
*/
|
|
@EntityModel('base_sys_conf')
|
|
export class BaseSysConfEntity extends BaseEntity {
|
|
@Index({ unique: true })
|
|
@Column({ comment: '配置键' })
|
|
cKey: string;
|
|
|
|
@Column({ comment: '配置值' })
|
|
cValue: string;
|
|
}
|