3fae0b841b
在各设备实体接口文件中添加writeCommunity字符串字段
37 lines
1002 B
TypeScript
37 lines
1002 B
TypeScript
import type { BaseModel, ReduceForSaveVO, ReduceForUpdateVO, ReduceForPageQuery } from '@/apis';
|
|
import type { Nullable, Optional } from '@/types';
|
|
|
|
export interface NdmSwitch 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;
|
|
community: string;
|
|
writeCommunity: string;
|
|
frontendConfig: string;
|
|
linkDescription: string;
|
|
snmpEnabled: boolean;
|
|
}
|
|
|
|
export type NdmSwitchResultVO = Nullable<NdmSwitch>;
|
|
|
|
export type NdmSwitchSaveVO = Partial<Omit<NdmSwitch, ReduceForSaveVO>>;
|
|
|
|
export type NdmSwitchUpdateVO = Optional<Omit<NdmSwitch, ReduceForUpdateVO>>;
|
|
|
|
export type NdmSwitchPageQuery = Partial<Omit<NdmSwitch, ReduceForPageQuery>>;
|