enum ProjectStatus { active, paused, pending }

class ProjectWorkspace {
  final String id;
  final String name;
  final String description;
  final ProjectStatus status;
  final String codeServerUrl;
  final int tasksCount;

  const ProjectWorkspace({
    required this.id,
    required this.name,
    required this.description,
    required this.status,
    required this.codeServerUrl,
    required this.tasksCount,
  });
}

const List<ProjectWorkspace> mockProjectWorkspaces = [
  ProjectWorkspace(
    id: 'nomadcode',
    name: 'NomadCode Core',
    description: 'AI 병렬 작업 운용을 위한 원레포 백엔드 및 모바일 클라이언트',
    status: ProjectStatus.active,
    codeServerUrl: 'http://localhost:8080/?folder=/config/workspace/nomadcode',
    tasksCount: 3,
  ),
  ProjectWorkspace(
    id: 'iop',
    name: 'IOP Bridge',
    description: 'RAG 및 MCP 연동을 위한 대규모 자율형 LLM 오케스트레이션 게이트웨이',
    status: ProjectStatus.active,
    codeServerUrl: 'http://localhost:8080/?folder=/config/workspace/iop',
    tasksCount: 1,
  ),
  ProjectWorkspace(
    id: 'proto-socket',
    name: 'Proto Socket',
    description: '고성능 전이중 RPC 채널 및 웹소켓 메시징 엔진',
    status: ProjectStatus.paused,
    codeServerUrl:
        'http://localhost:8080/?folder=/config/workspace/proto-socket',
    tasksCount: 0,
  ),
];
