18 lines
535 B
TypeScript
18 lines
535 B
TypeScript
import type { BaseEntity, BaseStats } from '../common';
|
||
|
||
// AI模型评论接口
|
||
export interface ModelComment extends BaseEntity {
|
||
modelId: string; // 模型ID
|
||
content: string; // 评论内容
|
||
parentId?: string; // 父评论ID,用于嵌套评论
|
||
}
|
||
|
||
// AI模型接口
|
||
export interface AIModel extends BaseEntity, BaseStats {
|
||
name: string;
|
||
description: string;
|
||
avatar?: string; // 模型头像
|
||
tags: string[]; // 模型标签(这个反正是静态的,必须有)
|
||
website: string; // 官方网站(必须有)
|
||
}
|