import type { BaseModel, ReduceForSaveVO, ReduceForUpdateVO, ReduceForPageQuery } from '@/apis';
import type { Nullable, Optional } from '@/types';

export interface NdmSecurityBox extends BaseModel {
  deviceId: string;
  name: string;
  manufacturer: string;
  state: boolean;
  model: string;
  ipAddress: string;
  manageUrl: string;
  manageUsername: string;
  managePassword: string;
  diagFlag: string;
  diagParam: string;
  diagFormat: string;
  lastDiagInfo: string;
  lastDiagTime: string;
  icmpEnabled: boolean;
  description: string;
  deviceStatus: string;
  deviceType: string;
  circuitCount: number;
  community: string;
  writeCommunity: string;
  frontendConfig: string;
  linkDescription: string;
  snmpEnabled: boolean;
}

export type NdmSecurityBoxResultVO = Nullable<NdmSecurityBox>;

export type NdmSecurityBoxSaveVO = Partial<Omit<NdmSecurityBox, ReduceForSaveVO>>;

export type NdmSecurityBoxUpdateVO = Optional<Omit<NdmSecurityBox, ReduceForUpdateVO>>;

export type NdmSecurityBoxPageQuery = Partial<Omit<NdmSecurityBox, ReduceForPageQuery>>;
