feat(api/cabinet): 添加mainCabinet字段到智能柜接口

为了支持主柜与子柜的关联关系,在SmartCabinetDTO、AddSmartCabinetCommand和UpdateSmartCabinetCommand接口中添加了mainCabinet字段。同时新增了相关图片资源。
This commit is contained in:
dzq 2025-05-14 15:36:31 +08:00
parent f0be0febb2
commit 268d248f57
9 changed files with 4 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

View File

@ -11,6 +11,8 @@ export interface SmartCabinetDTO {
cabinetId?: number; cabinetId?: number;
cabinetName: string; cabinetName: string;
cabinetType: number; cabinetType: number;
mainCabinet?: number;
mainCabinetName?: string;
mqttServerId?: number; mqttServerId?: number;
shopId?: number; shopId?: number;
shopName?: string; shopName?: string;
@ -23,6 +25,7 @@ export interface SmartCabinetDTO {
export interface AddSmartCabinetCommand { export interface AddSmartCabinetCommand {
cabinetName: string; cabinetName: string;
cabinetType: number; cabinetType: number;
mainCabinet?: number;
mqttServerId?: number; mqttServerId?: number;
shopId?: number; shopId?: number;
templateNo: string; templateNo: string;
@ -34,6 +37,7 @@ export interface UpdateSmartCabinetCommand {
cabinetId: number; cabinetId: number;
cabinetName?: string; cabinetName?: string;
cabinetType?: number; cabinetType?: number;
mainCabinet?: number;
mqttServerId?: number; mqttServerId?: number;
shopId?: number; shopId?: number;
templateNo?: string; templateNo?: string;