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

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