import { Dayjs } from 'dayjs';

export interface TimeRangeItem {
  id: string;
  value: [Dayjs, Dayjs];
}

export interface TimePeriodItem {
  id: string;
  startDay: number | null;
  endDay: number | null;
  timeRangeList: { id: string; startTime: string; endTime: string }[];
}

export const labelNameMap = {
  '': '',
  person: '人',
  withHelmet: '安全帽',
  bird: '鸟',
  cat: '猫',
  dog: '狗',
  snake: '蛇',
  mouse: '鼠',
  vest: '反光背心',
  car: '普通车',
  fire: '火焰',
  sleep: '睡觉',
  phone: '手机',
  smoke: '香烟',
  airplane: '飞机',
};
