import type { BackendLotteryConfigDto } from '@/api/backend/activity/types'
import type { PageSearchParams } from '@/utils/request/types'
import type { BooleanFlag } from '@/constants/enums'

export type DailyLotteryInfo = BackendLotteryConfigDto
export interface SearchLotteryRecordParams extends PageSearchParams {
  lotteryId: number
}
export interface UserLotteryRecordItemDto {
  activityDateRange: string
  configId: number
  endDate: number
  feePaid: number
  isWin: BooleanFlag
  prizeId: number
  prizeImage: string
  prizeName: string
  prizeStatus: number
  recordId: number
  registrationTime: number
  registrationTimeStr: string
  startDate: number
  winDate: number
  winDateStr: string
  winId: number
  isLotteryDone: BooleanFlag
}
