Initial commit
This commit is contained in:
33
src/api/shop/spec/model/index.ts
Normal file
33
src/api/shop/spec/model/index.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
import type { PageParam } from '@/api';
|
||||
import { SpecValue } from '@/api/shop/specValue/model';
|
||||
|
||||
/**
|
||||
* 商品规格组记录表
|
||||
*/
|
||||
export interface Spec {
|
||||
// 规格组ID
|
||||
specId?: number;
|
||||
// 规格组名称
|
||||
specName?: string;
|
||||
// 描述
|
||||
comments?: string;
|
||||
// 状态
|
||||
status?: number;
|
||||
// 排序
|
||||
sortNumber?: number;
|
||||
// 租户id
|
||||
tenantId?: number;
|
||||
// 规格值
|
||||
specValues?: SpecValue[];
|
||||
key?: string;
|
||||
label?: string;
|
||||
value?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 商品规格组记录表搜索条件
|
||||
*/
|
||||
export interface SpecParam extends PageParam {
|
||||
specId?: number;
|
||||
keywords?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user