初始化
This commit is contained in:
59
api/shop/goodsAttrValue/model/index.ts
Normal file
59
api/shop/goodsAttrValue/model/index.ts
Normal file
@@ -0,0 +1,59 @@
|
||||
import type { PageParam } from '@/api';
|
||||
|
||||
/**
|
||||
* 商品属性值表
|
||||
*/
|
||||
export interface GoodsAttrValue {
|
||||
// 主键
|
||||
id?: number;
|
||||
// 商品ID
|
||||
goodsId?: number;
|
||||
// 商品属性索引值 (attr_value|attr_value[|....])
|
||||
suk?: string;
|
||||
// 属性对应的库存
|
||||
stock?: number;
|
||||
// 销量
|
||||
sales?: number;
|
||||
// 属性金额
|
||||
price?: number;
|
||||
// 图片
|
||||
image?: string;
|
||||
// 唯一值
|
||||
unique?: string;
|
||||
// 成本价
|
||||
cost?: string;
|
||||
// 商品条码
|
||||
barCode?: string;
|
||||
// 原价
|
||||
otPrice?: string;
|
||||
// 重量
|
||||
weight?: string;
|
||||
// 体积
|
||||
volume?: string;
|
||||
// 一级返佣
|
||||
brokerage?: string;
|
||||
// 二级返佣
|
||||
brokerageTwo?: string;
|
||||
// 活动类型 0=商品,1=秒杀,2=砍价,3=拼团
|
||||
type?: string;
|
||||
// 活动限购数量
|
||||
quota?: number;
|
||||
// 活动限购数量显示
|
||||
quotaShow?: number;
|
||||
// attr_values 创建更新时的属性对应
|
||||
attrValue?: string;
|
||||
// 是否删除, 0否, 1是
|
||||
deleted?: number;
|
||||
// 租户id
|
||||
tenantId?: number;
|
||||
// 注册时间
|
||||
createTime?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 商品属性值表搜索条件
|
||||
*/
|
||||
export interface GoodsAttrValueParam extends PageParam {
|
||||
id?: number;
|
||||
keywords?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user