export interface EquipmentPageQuery {
    equipmentName?: string
    equipmentType?: string
    equipmentStatus?: string
    equipmentSn?: string
    assetCode?: string
    brand?: string
    locationStatus?: string
    healthStatus?: string
    responsiblePerson?: string
    useStatus?: string
    projectId?: string
    userId?: string
    equipmentModel?: string
    specification?: string
    physicalLocation?: string
    supplierName?: string
    maintenancePerson?: string
    inventoryBarcode?: string
    assetRemark?: string
    // 新增搜索字段
    usingDepartment?: string
    invoice?: string
    barcode?: string
    importer?: string
    page?: number
    pageSize?: number
    orderBy?: string
    orderDirection?: string
}

export interface EquipmentReq {
    equipmentName: string
    equipmentModel: string
    equipmentType: string
    equipmentStatus: string
    useStatus: string
    equipmentSn: string
    assetCode?: string
    brand?: string
    specification?: string
    locationStatus?: string
    physicalLocation?: string
    responsiblePerson?: string
    healthStatus?: string
    purchaseTime?: string
    inStockTime?: string
    activationTime?: string
    expectedScrapTime?: string
    actualScrapTime?: string
    statusChangeTime?: string
    purchaseOrder?: string
    supplierName?: string
    purchasePrice?: number
    currentNetValue?: number
    depreciationMethod?: string
    depreciationYears?: number
    salvageValue?: number
    warrantyExpireDate?: string
    lastMaintenanceDate?: string
    nextMaintenanceDate?: string
    maintenancePerson?: string
    inventoryBarcode?: string
    assetRemark?: string
    // 新增字段
    usingDepartment?: string
    borrowingTime?: string
    returnTime?: string
    outStockTime?: string
    totalUsageTime?: string
    depreciationRate?: number
    depreciationMethodDesc?: string
    invoice?: string
    invoiceStatus?: string
    attachments?: string
    photos?: string
    barcode?: string
    importer?: string
    inventoryTimeStatus1?: string
    inventoryTimeStatus2?: string
    inventoryTimeStatus3?: string
    inventoryCheckTimeStatus1?: string
    inventoryCheckTimeStatus2?: string
    inventoryCheckTimeStatus3?: string
}

export interface EquipmentResp {
    equipmentId: string
    assetCode?: string
    equipmentName: string
    equipmentType: string
    equipmentTypeLabel?: string
    equipmentModel: string
    equipmentSn: string
    brand?: string
    specification?: string
    equipmentStatus: string
    equipmentStatusLabel?: string
    useStatus: string
    locationStatus?: string
    locationStatusLabel?: string
    physicalLocation?: string
    responsiblePerson?: string
    healthStatus?: string
    healthStatusLabel?: string
    purchaseTime?: string
    inStockTime?: string
    activationTime?: string
    expectedScrapTime?: string
    actualScrapTime?: string
    statusChangeTime?: string
    purchaseOrder?: string
    supplierName?: string
    purchasePrice?: number
    currentNetValue?: number
    depreciationMethod?: string
    depreciationYears?: number
    salvageValue?: number
    warrantyExpireDate?: string
    lastMaintenanceDate?: string
    nextMaintenanceDate?: string
    maintenancePerson?: string
    inventoryBarcode?: string
    assetRemark?: string
    // 新增字段
    usingDepartment?: string
    borrowingTime?: string
    returnTime?: string
    outStockTime?: string
    totalUsageTime?: string
    depreciationRate?: number
    depreciationMethodDesc?: string
    invoice?: string
    invoiceStatus?: string
    attachments?: string
    photos?: string
    barcode?: string
    importer?: string
    inventoryTimeStatus1?: string
    inventoryTimeStatus2?: string
    inventoryTimeStatus3?: string
    inventoryCheckTimeStatus1?: string
    inventoryCheckTimeStatus2?: string
    inventoryCheckTimeStatus3?: string
    projectId?: string
    projectName?: string
    userId?: string
    name?: string
    createTime?: string
    updateTime?: string
}

export interface EquipmentTypeOption {
    label: string
    value: string
}

export interface EquipmentStatusOption {
    label: string
    value: string
    color: string
}

export interface LocationStatusOption {
    label: string
    value: string
    color: string
}

export interface HealthStatusOption {
    label: string
    value: string
    color: string
}

export interface DepreciationMethodOption {
    label: string
    value: string
}