feat(api/cabinet): 添加mainCabinet字段到智能柜接口
为了支持主柜与子柜的关联关系,在SmartCabinetDTO、AddSmartCabinetCommand和UpdateSmartCabinetCommand接口中添加了mainCabinet字段。同时新增了相关图片资源。
After Width: | Height: | Size: 77 KiB |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 62 KiB |
|
@ -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;
|
||||||
|
|