mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
* docs: audit, deploymentconfig, files, parameters * Swagger comments in workspacebuilds.go * structs in workspacebuilds.go * workspaceagents: instance identity * workspaceagents.go in progress * workspaceagents.go in progress * Agents * workspacebuilds.go * /workspaces * templates.go, templateversions.go * templateversion.go in progress * cancel * templateversions * wip * Merge * x-apidocgen * NullTime hack not needed anymore * Fix: x-apidocgen * Members * Fixes * Fix
16 lines
470 B
Go
16 lines
470 B
Go
package codersdk
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type OrganizationMember struct {
|
|
UserID uuid.UUID `db:"user_id" json:"user_id" format:"uuid"`
|
|
OrganizationID uuid.UUID `db:"organization_id" json:"organization_id" format:"uuid"`
|
|
CreatedAt time.Time `db:"created_at" json:"created_at" format:"date-time"`
|
|
UpdatedAt time.Time `db:"updated_at" json:"updated_at" format:"date-time"`
|
|
Roles []Role `db:"roles" json:"roles"`
|
|
}
|