初始化
This commit is contained in:
29
api/shop/goodsAttr/model/index.ts
Normal file
29
api/shop/goodsAttr/model/index.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
import type { PageParam } from '@/api';
|
||||
|
||||
/**
|
||||
* 商品属性表
|
||||
*/
|
||||
export interface GoodsAttr {
|
||||
// 主键
|
||||
id?: number;
|
||||
// 商品ID
|
||||
goodsId?: number;
|
||||
// 属性名
|
||||
attrName?: string;
|
||||
// 属性值
|
||||
attrValues?: string;
|
||||
// 活动类型 0=商品,1=秒杀,2=砍价,3=拼团
|
||||
type?: string;
|
||||
// 是否删除, 0否, 1是
|
||||
deleted?: number;
|
||||
// 租户id
|
||||
tenantId?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* 商品属性表搜索条件
|
||||
*/
|
||||
export interface GoodsAttrParam extends PageParam {
|
||||
id?: number;
|
||||
keywords?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user