wangzhibo
4 天以前 c19f1f7e21c93d1f13b4f44a8a615f65af577559
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { BaseEntity } from '@cool-midway/core';
import { Column, Entity, Index } from 'typeorm';
 
/**
 * 搜索关键词
 */
@Entity('goods_search_keyword')
export class GoodsSearchKeywordEntity extends BaseEntity {
  @Column({ comment: '名称' })
  name: string;
 
  @Column({ comment: '排序', default: 0, nullable: true })
  sortNum: number;
}