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

export interface NdmDeviceAlarmLog extends BaseModel {
  alarmNo: string;
  alarmDate: string;
  faultLocation: string;
  faultDescription: string;
  faultLevel: string;
  faultCode: string;
  deviceId: string;
  deviceName: string;
  alarmCategory: string;
  alarmConfirm: string;
  alarmRepairSuggestion: string;
  impactService: string;
  alarmType: string;
  deviceType: string;
  stationCode: string;
}

export type NdmDeviceAlarmLogResultVO = Nullable<NdmDeviceAlarmLog>;

export type NdmDeviceAlarmLogSaveVO = Partial<Omit<NdmDeviceAlarmLog, ReduceForSaveVO>>;

export type NdmDeviceAlarmLogUpdateVO = Partial<Omit<NdmDeviceAlarmLog, ReduceForUpdateVO>>;

export type NdmDeviceAlarmLogPageQuery = Partial<Omit<NdmDeviceAlarmLog, ReduceForPageQuery>>;
