/**
 * 数据配置
 */
export interface DataConfig {
  id: string;
  name: string;
  type: string;
  location: string;
  description?: string;
  backupPolicy?: string;
  retentionPolicy?: string;
  encryptionEnabled?: boolean;
  compressionEnabled?: boolean;
}

/**
 * 数据状态
 */
export interface DataStatus {
  status: 'ACTIVE' | 'INACTIVE' | 'RESTORED' | 'ERROR' | 'UNKNOWN';
  lastUpdated: Date;
  size: number;
}

/**
 * 数据备份
 */
export interface DataBackup {
  id: string;
  dataId: string;
  name: string;
  timestamp: Date;
  size: number;
  status: 'PENDING' | 'COMPLETED' | 'FAILED';
}

/**
 * 数据恢复
 */
export interface DataRestore {
  id: string;
  backupId: string;
  timestamp: Date;
  status: 'PENDING' | 'COMPLETED' | 'FAILED';
  message?: string;
}
