wangrong
2022-07-08 7e9badac4f3df3650e72bd419f9cdaa485b054d6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { Column, Index } from 'typeorm';
import { EntityModel } from '@midwayjs/orm';
import { BaseEntity } from '@cool-midway/core';
 
/**
 * 系统配置
 */
@EntityModel('t_sys_conf')
export class BaseSysConfEntity extends BaseEntity {
  @Index({ unique: true })
  @Column({ comment: '配置键' })
  cKey: string;
 
  @Column({ comment: '配置值' })
  cValue: string;
}