校园商户
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export default interface IMerchantCategory {
|
||||
id?: number;
|
||||
name?: string;
|
||||
slug?: string;
|
||||
description?: string;
|
||||
icon?: string;
|
||||
sort?: number;
|
||||
status?: number;
|
||||
created_at?: string;
|
||||
updated_at?: string;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
export default interface IMerchantProduct {
|
||||
id?: number;
|
||||
merchant_id?: number;
|
||||
category_id?: number;
|
||||
name?: string;
|
||||
description?: string;
|
||||
images?: string[];
|
||||
price?: number;
|
||||
original_price?: number;
|
||||
stock?: number;
|
||||
unit?: string;
|
||||
sales?: number;
|
||||
status?: number;
|
||||
is_recommend?: number;
|
||||
sort?: number;
|
||||
created_at?: string;
|
||||
updated_at?: string;
|
||||
deleted_at?: string;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
export default interface IMerchantStore {
|
||||
id?: number;
|
||||
user_id?: number;
|
||||
category_id?: number;
|
||||
name?: string;
|
||||
logo?: string;
|
||||
banner?: string;
|
||||
description?: string;
|
||||
contact_name?: string;
|
||||
contact_mobile?: string;
|
||||
province?: string;
|
||||
city?: string;
|
||||
district?: string;
|
||||
address?: string;
|
||||
latitude?: string;
|
||||
longitude?: string;
|
||||
business_hours?: string;
|
||||
balance?: number;
|
||||
total_income?: number;
|
||||
min_price?: number;
|
||||
status?: number;
|
||||
reject_reason?: string;
|
||||
created_at?: string;
|
||||
updated_at?: string;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
export default interface IPrintTask {
|
||||
id?: number;
|
||||
printer_id?: number;
|
||||
order_id?: number;
|
||||
content?: string;
|
||||
copies?: number;
|
||||
status?: number;
|
||||
error_msg?: string;
|
||||
printed_at?: string;
|
||||
created_at?: string;
|
||||
updated_at?: string;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
export default interface IPrinter {
|
||||
id?: number;
|
||||
merchant_id?: number;
|
||||
name?: string;
|
||||
brand?: string;
|
||||
model?: string;
|
||||
device_no?: string;
|
||||
secret_key?: string;
|
||||
status?: number;
|
||||
config?: Record<string, unknown>;
|
||||
created_at?: string;
|
||||
updated_at?: string;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
export default interface IProductCategory {
|
||||
id?: number;
|
||||
merchant_id?: number;
|
||||
parent_id?: number;
|
||||
name?: string;
|
||||
slug?: string;
|
||||
description?: string;
|
||||
icon?: string;
|
||||
sort?: number;
|
||||
status?: number;
|
||||
created_at?: string;
|
||||
updated_at?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user