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.
61 lines
1.2 KiB
61 lines
1.2 KiB
import type { PageParam } from '@/api';
|
|
import {Company} from "@/api/system/company/model";
|
|
|
|
/**
|
|
* 产品
|
|
*/
|
|
export interface Product {
|
|
productId?: number;
|
|
name?: string;
|
|
code?: string;
|
|
type?: string;
|
|
logo?: string;
|
|
money?: number;
|
|
salesInitial?: number;
|
|
salesActual?: number;
|
|
stockTotal?: number;
|
|
image?: string;
|
|
backgroundColor?: string;
|
|
backgroundImage?: string;
|
|
backgroundGif?: string;
|
|
buyUrl?: string;
|
|
adminUrl?: string;
|
|
downUrl?: string;
|
|
source?: string;
|
|
content?: string;
|
|
virtualViews?: string;
|
|
actualViews?: string;
|
|
userId?: string;
|
|
companyId?: number;
|
|
nickname?: string;
|
|
username?: string;
|
|
userAvatar?: string;
|
|
shopId?: string;
|
|
files?: string;
|
|
sortNumber?: number;
|
|
comments?: string;
|
|
serverUrl?: string;
|
|
status?: number;
|
|
callbackUrl?: string;
|
|
createTime?: string;
|
|
updateTime?: string;
|
|
company?: Company;
|
|
tenantId?: number;
|
|
}
|
|
|
|
/**
|
|
* 产品搜索条件
|
|
*/
|
|
export interface ProductParam extends PageParam {
|
|
title?: string;
|
|
code?: string;
|
|
productId?: number;
|
|
categoryId?: string;
|
|
status?: string;
|
|
sortNumber?: string;
|
|
createTime?: string;
|
|
username?: string;
|
|
nickname?: string;
|
|
// 商户编号
|
|
merchantCode?: string;
|
|
}
|