You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
726 B
41 lines
726 B
import type { PageParam } from '@/api';
|
|
|
|
/**
|
|
* 产品评论
|
|
*/
|
|
export interface CmsProductComment {
|
|
// ID
|
|
id?: number;
|
|
// 产品ID
|
|
productId?: number;
|
|
// 用户ID
|
|
userId?: number;
|
|
// 用户头像
|
|
avatar?: string;
|
|
// 用户昵称
|
|
nickname?: string;
|
|
image?: string;
|
|
// 排序(数字越小越靠前)
|
|
sortNumber?: number;
|
|
// 评论内容
|
|
comments?: string;
|
|
// 评分
|
|
rate?: number;
|
|
// 状态
|
|
status?: number;
|
|
// 租户id
|
|
tenantId?: number;
|
|
// 创建时间
|
|
createTime?: string;
|
|
// 子列表
|
|
children?: CmsProductComment[];
|
|
}
|
|
|
|
/**
|
|
* 产品评论搜索条件
|
|
*/
|
|
export interface CmsProductCommentParam extends PageParam {
|
|
id?: number;
|
|
userId?: number;
|
|
keywords?: string;
|
|
}
|