1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
| }
|
|