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.
65 lines
1.2 KiB
65 lines
1.2 KiB
import type { PageParam } from '@/api';
|
|
|
|
/**
|
|
* 产品记录表
|
|
*/
|
|
export interface OaProduct {
|
|
// 产品ID
|
|
productId?: number;
|
|
// 产品名称
|
|
name?: string;
|
|
// 产品标识
|
|
code?: string;
|
|
// 产品详情
|
|
content?: string;
|
|
// 产品类型
|
|
type?: string;
|
|
// 产品图标
|
|
logo?: string;
|
|
// 产品金额
|
|
money?: string;
|
|
// 初始销量
|
|
salesInitial?: number;
|
|
// 实际销量
|
|
salesActual?: number;
|
|
// 库存总量(包含所有sku)
|
|
stockTotal?: number;
|
|
// 背景颜色
|
|
backgroundColor?: string;
|
|
// 背景图片
|
|
backgroundImage?: string;
|
|
// 背景图片(gif)
|
|
backgroundGif?: string;
|
|
// 购买链接
|
|
buyUrl?: string;
|
|
// 控制台链接
|
|
adminUrl?: string;
|
|
// 附件
|
|
files?: string;
|
|
// 企业ID
|
|
companyId?: number;
|
|
// 用户ID
|
|
userId?: number;
|
|
// 排序(数字越小越靠前)
|
|
sortNumber?: number;
|
|
// 备注
|
|
comments?: string;
|
|
// 状态, 0已上架, 1已下架
|
|
status?: number;
|
|
// 是否删除, 0否, 1是
|
|
deleted?: number;
|
|
// 租户id
|
|
tenantId?: number;
|
|
// 创建时间
|
|
createTime?: string;
|
|
// 修改时间
|
|
updateTime?: string;
|
|
}
|
|
|
|
/**
|
|
* 产品记录表搜索条件
|
|
*/
|
|
export interface OaProductParam extends PageParam {
|
|
productId?: number;
|
|
keywords?: string;
|
|
}
|