export const applicationStatusOptions = [
  { label: '待申请', value: '0', elTagType: 'info' },
  { label: '已提交', value: '1', elTagType: 'primary' },
  { label: '审核中', value: '2', elTagType: 'warning' },
  { label: '已录取', value: '3', elTagType: 'success' },
  { label: '被拒', value: '4', elTagType: 'danger' },
  { label: '撤回', value: '5', elTagType: 'info' }
];

export const salaryStatusOptions = [
  { label: '未发放', value: '0', elTagType: 'warning' },
  { label: '已发放', value: '1', elTagType: 'success' }
];

export interface ApplicationVO extends BaseEntity {
  id: number | string;
  studentId: number | string;
  studentName: string;
  schoolId: number | string;
  schoolName: string;
  applyTeacherId: number | string;
  applyTeacherName: string;
  docWriterId: number | string;
  docWriterName: string;
  applicationNo: string;
  applyYear: string;
  publishDate: string;
  deadline: string;
  submitDate: string;
  status: string;
  systemUrl: string;
  systemAccount: string;
  mistakeNote: string;
  overtimeNote: string;
  salaryStatus: string;
  remark: string;
}

export interface ApplicationQuery extends PageQuery {
  studentId: number | string;
  schoolId: number | string;
  applyYear: string;
  status: string;
  salaryStatus: string;
}

export interface ApplicationForm {
  id?: number | string;
  studentId: number | string;
  schoolId?: number | string;
  schoolName?: string;
  applyTeacherId?: number | string;
  docWriterId?: number | string;
  applicationNo?: string;
  applyYear?: string;
  publishDate?: string;
  deadline?: string;
  submitDate?: string;
  status?: string;
  systemUrl?: string;
  systemAccount?: string;
  systemPwd?: string;
  mistakeNote?: string;
  overtimeNote?: string;
  salaryStatus?: string;
  remark?: string;
}
