export const INNER_PERSON_TABLE_SEARCH_OPTIONS: SelectOption[] = [
  {
    label: '姓名',
    value: 'employeeName',
    disabled: false,
  },
  {
    label: '卡号',
    value: 'staffNo',
    disabled: false,
  },
  {
    label: '进出地点',
    value: 'location',
    disabled: false,
  },
];

export enum OCCURRENCE_TYPE {
  ENTER = 1,
  EXIT = 2,
}

export const OCCURRENCE_TYPE_LABEL = {
  [OCCURRENCE_TYPE.ENTER]: '进门',
  [OCCURRENCE_TYPE.EXIT]: '出门',
};

export const OCCURRENCE_TYPE_OPTIONS: SelectOption[] = [
  {
    label: OCCURRENCE_TYPE_LABEL[OCCURRENCE_TYPE.ENTER],
    value: OCCURRENCE_TYPE.ENTER,
    disabled: false,
  },
  {
    label: OCCURRENCE_TYPE_LABEL[OCCURRENCE_TYPE.EXIT],
    value: OCCURRENCE_TYPE.EXIT,
    disabled: false,
  },
];
