feat(card): 构建全球6大赛道高保真Demo数据并完成线上数据库与服务部署
这个提交包含在:
@@ -1,4 +1,4 @@
|
||||
import { BaseEntity } from '../../base/entity/base';
|
||||
import { BaseEntity, transformerJson } from '../../base/entity/base';
|
||||
import { Column, Entity, Index } from 'typeorm';
|
||||
import type { CardCase } from '../../../comm/types/omni';
|
||||
|
||||
@@ -71,6 +71,15 @@ export class CardCasesEntity extends BaseEntity implements CardCase {
|
||||
})
|
||||
description: string;
|
||||
|
||||
@Column({
|
||||
name: 'meta_json',
|
||||
comment: '扩展元数据 JSON (包含 images 相册图片数组、kpis 量化指标等)',
|
||||
type: 'json',
|
||||
nullable: true,
|
||||
transformer: transformerJson,
|
||||
})
|
||||
metaJson?: Record<string, unknown> | string;
|
||||
|
||||
@Index()
|
||||
@Column({
|
||||
name: 'sort_order',
|
||||
|
||||
在新工单中引用
屏蔽一个用户