export const salaryServiceTypeOptions = [
  { label: '报名', value: 'ENROLL' },
  { label: '续费', value: 'RENEW' },
  { label: '补购', value: 'ADDON' },
  { label: '申请', value: 'APPLICATION' },
  { label: '文书', value: 'DOC_WRITE' },
  { label: '面试辅导', value: 'INTERVIEW' },
  { label: '志愿填报', value: 'VOLUNTEER' },
  { label: '背景提升', value: 'BACKGROUND' },
  { label: '其他', value: 'OTHER' }
];

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

export interface SalaryRecordVO extends BaseEntity {
  id: number | string;
  staffId: number | string;
  staffName: string;
  studentId: number | string;
  studentName: string;
  serviceType: string;
  amount: number;
  bonusFirst: number;
  bonusFinal: number;
  penalty: number;
  payDate: string;
  payStatus: string;
  contractId: number | string;
  remark: string;
}

export interface SalaryRecordQuery extends PageQuery {
  staffId: number | string;
  studentId: number | string;
  serviceType: string;
  payStatus: string;
}

export interface SalaryRecordForm {
  id?: number | string;
  staffId: number | string;
  studentId?: number | string;
  serviceType: string;
  amount?: number;
  bonusFirst?: number;
  bonusFinal?: number;
  penalty?: number;
  payDate?: string;
  payStatus?: string;
  contractId?: number | string;
  remark?: string;
}
