/** 区域检查计划状态：0=未开始 1=进行中 2=已完成 3=已终止 */
export type AreaCheckPlanStatus = 0 | 1 | 2 | 3;

export interface AreaCheckPlanRecord {
  id?: number;
  checkVenue?: string;
  status?: AreaCheckPlanStatus;
  venueCategoryName?: string;
  planName?: string;
  primaryResponsibleDeptName?: string;
  primaryResponsibleDeptCode?: string;
  selfCheckFrequency?: string;
  mainDeptExecutorGroupName?: string;
  mainDeptExecGroupCode?: string;
  mainDeptResponsiblePerson?: string;
  mainDeptResponsiblePersonCode?: string;
  safetyEmergencyDeptName?: string;
  safetyEmergencyDeptCode?: string;
  safetyEmergencyCheckFrequency?: string;
  safetyEmergencyExecutorGroupName?: string;
  safetyEmergencyExecGroupCode?: string;
  safetyEmergencyResponsiblePerson?: string;
  safetyEmergencyPersonCode?: string;
  hospitalLeaderDeptName?: string;
  hospitalLeaderDeptCode?: string;
  hospitalLeaderCheckFrequency?: string;
  hospitalLeaderExecutorGroupName?: string;
  hospitalLeaderExecGroupCode?: string;
  hospitalLeaderResponsiblePerson?: string;
  hospitalLeaderPersonCode?: string;
  checkKeyContent?: string;
  categoryName?: string;
  categoryCode?: string;
  checklistTemplateName?: string;
  needOverallDesc?: boolean;
  needInspectedSign?: boolean;
  planStartTime?: string;
  planEndTime?: string;
  isDeleted?: number | string;
  createdAt?: string;
  updatedAt?: string;
  [key: string]: unknown;
}

export interface AreaCheckPlanQuery {
  keyword?: string;
  status?: AreaCheckPlanStatus | '';
  venueCategory?: string;
  planStartTime?: string;
  planEndTime?: string;
}
