mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-01-27 18:18:10 +00:00
16 lines
335 B
TypeScript
16 lines
335 B
TypeScript
import { Column, Index, Entity } from 'typeorm';
|
|
import { BaseEntity } from '@cool-midway/core';
|
|
|
|
/**
|
|
* 系统配置
|
|
*/
|
|
@Entity('base_sys_conf')
|
|
export class BaseSysConfEntity extends BaseEntity {
|
|
@Index({ unique: true })
|
|
@Column({ comment: '配置键' })
|
|
cKey: string;
|
|
|
|
@Column({ comment: '配置值' })
|
|
cValue: string;
|
|
}
|