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.
59 lines
1.1 KiB
59 lines
1.1 KiB
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;
|
|
}
|