初始化
This commit is contained in:
61
api/shop/goodsComment/model/index.ts
Normal file
61
api/shop/goodsComment/model/index.ts
Normal file
@@ -0,0 +1,61 @@
|
||||
import type { PageParam } from '@/api';
|
||||
|
||||
/**
|
||||
* 评论表
|
||||
*/
|
||||
export interface GoodsComment {
|
||||
// 评论ID
|
||||
id?: number;
|
||||
// 用户ID
|
||||
uid?: number;
|
||||
// 订单ID
|
||||
oid?: number;
|
||||
// 商品唯一id
|
||||
unique?: string;
|
||||
// 商品id
|
||||
goodsId?: number;
|
||||
// 某种商品类型(普通商品、秒杀商品)
|
||||
replyType?: string;
|
||||
// 商品分数
|
||||
goodsScore?: string;
|
||||
// 服务分数
|
||||
serviceScore?: string;
|
||||
// 评论内容
|
||||
comment?: string;
|
||||
// 评论图片
|
||||
pics?: string;
|
||||
// 管理员回复内容
|
||||
merchantReplyContent?: string;
|
||||
// 管理员回复时间
|
||||
merchantReplyTime?: number;
|
||||
// 0未删除1已删除
|
||||
isDel?: string;
|
||||
// 0未回复1已回复
|
||||
isReply?: string;
|
||||
// 用户名称
|
||||
nickname?: string;
|
||||
// 用户头像
|
||||
avatar?: string;
|
||||
// 商品规格属性值,多个,号隔开
|
||||
sku?: string;
|
||||
// 状态, 0正常, 1冻结
|
||||
status?: number;
|
||||
// 是否删除, 0否, 1是
|
||||
deleted?: number;
|
||||
// 用户ID
|
||||
userId?: number;
|
||||
// 租户id
|
||||
tenantId?: number;
|
||||
// 注册时间
|
||||
createTime?: string;
|
||||
// 更新时间
|
||||
updateTime?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 评论表搜索条件
|
||||
*/
|
||||
export interface GoodsCommentParam extends PageParam {
|
||||
id?: number;
|
||||
keywords?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user