package model

import (
	"time"

	"github.com/tidbcloud/AgentTeam/internal/core/domain"
)

// Workspace is the top-level collaboration boundary.
type Workspace struct {
	ID             string
	OrganizationID string
	Name           string
	CreatedAt      time.Time
	UpdatedAt      time.Time
}

// Member is a stable workspace-scoped messaging identity.
type Member struct {
	ID            string
	WorkspaceID   string
	Type          domain.MemberType
	DisplayName   string
	UserID        *string
	WorkspaceRole *domain.WorkspaceRole
	CreatedAt     time.Time
	UpdatedAt     time.Time
}
