import { PageResult } from "./common";

// 违纪导入
export interface BreachListItem {
  subjectCode: string;
  subjectName: string;
  breachCount: number;
}

// 考生状态
export interface StudentStatusListItem {
  subjectCode: string;
  subjectName: string;
  custStatusCount: number;
}

// 评卷点
export interface MarkSiteListItem {
  id: number;
  subjectCode: string;
  subjectName: string;
  paperType: string;
  oddNumber: string;
  evenNumber: string;
}

export type MarkSiteListPageResult = PageResult<MarkSiteListItem>;

export interface MarkSiteSaveParams {
  id?: number;
  examId: number;
  subjectCode: string;
  paperType: string;
  oddNumber: string;
  evenNumber: string;
}

export interface MarkSiteSetParams {
  examId: number;
  scanSite: string;
}

export interface ExportProgressResult {
  progress: number;
  // RUNNING-处理中, SUCCESS-处理成功, FAILED-处理失败
  status: "RUNNING" | "SUCCESS" | "FAILED";
  errMsg: string;
}
