Files
template-10490/api/shop/goodsRelation/model/index.ts
2025-01-27 23:24:42 +08:00

32 lines
602 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import type { PageParam } from '@/api';
/**
* 商品点赞和收藏表
*/
export interface GoodsRelation {
// id
id?: number;
// 用户ID
userId?: number;
// 商品ID
goodsId?: number;
// 类型(收藏(collect、点赞(like))
type?: string;
// 某种类型的商品(普通商品、秒杀商品)
category?: string;
// 租户id
tenantId?: number;
// 创建时间
createTime?: string;
// 更新时间
updateTime?: string;
}
/**
* 商品点赞和收藏表搜索条件
*/
export interface GoodsRelationParam extends PageParam {
id?: number;
keywords?: string;
}