// 项目状态枚举
export enum ProjectStatus {
    NOT_STARTED = 'not_started',
    IN_PROGRESS = 'in_progress',
    COMPLETED = 'completed',
    PAUSED = 'paused',
    CANCELLED = 'cancelled'
}

// 项目数据接口
export interface ProjectData {
    id: number
    projectName: string
    unitCount: number
    startDate: string
    endDate: string
    status: ProjectStatus
    progress: number
    manager: string
    isMyProject: boolean
    description?: string
    location?: string
    client?: string
    budget?: number
    team?: string[]
}

// 选项卡类型
export type TabKey = 'all' | 'my' | 'pending'

// 项目筛选条件
export interface ProjectFilter {
    keyword?: string
    status?: ProjectStatus
    manager?: string
    dateRange?: [string, string]
}

// 项目统计信息
export interface ProjectStats {
    total: number
    inProgress: number
    completed: number
    notStarted: number
    myProjects: number
}

// 招标详情
export interface BiddingDetail {
    id: number
    projectName: string
    biddingUnit: string
    budgetAmount: number
    deadline: string
    crawlingTime: string
    projectLocation: string
    projectDuration: string
    biddingScope: string
    qualificationRequirements: string
    sourcePlatform: string
    biddingDocuments: string
    biddingContent: string
    contentItems?: string[]
}
