wangrong
2026-09-30 76cbe2e5f55b8fa40f6e8a2b7a2cf91a52ea4b10
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;
}