feat(card): 构建全球6大赛道高保真Demo数据并完成线上数据库与服务部署

这个提交包含在:
wikiboss
2026-09-23 11:44:12 +08:00
父节点 178683baed
当前提交 2e7e9b70d4
共有 6 个文件被更改,包括 765 次插入 和 202 次删除

查看文件

@@ -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',