deviceModel.ts 590 Bytes
import { BasicPageParams } from '/@/api/model/baseModel';
export type DeviceProfileQueryParam = BasicPageParams & DeviceProfileParam & DeviceId;
export type DeviceQueryParam = BasicPageParams & DeviceParam;
export type DeviceParam = {
  name?: string;
  deviceProfileId?: string;
};
export type DeviceProfileParam = {
  name?: string;
};
export type DeviceId = {
  id?: string;
};

export interface DeviceModel {
  status: true;
  name: string;
  organizationId: string;
  orderFiled: string;
  orderType: string;
}

export type ChildDeviceParams = BasicPageParams & {
  formId: string;
};