import { createEnum } from '@/common/utils/enums.ts'

const expenseStrategyList = [
  {
    val: 'MianFei',
    txt: '免费',
  },
  {
    val: 'DanJia',
    txt: '单价',
  },
  {
    val: 'GuDing',
    txt: '固定',
  },
  {
    val: 'TanXing',
    txt: '弹性',
  },
] as const

export const expenseStrategy = createEnum(expenseStrategyList)

const unitList = [
  {
    val: 'Dun',
    txt: '吨',
  },
  {
    val: 'Che',
    txt: '车',
  },
  {
    val: 'Fang',
    txt: '方',
  },
  {
    val: 'GongLi',
    txt: '公里',
  },
] as const

export const unit = createEnum(unitList)
