15 lines
507 B
Go
15 lines
507 B
Go
// Package labels provides label management for the office domain.
|
|
package labels
|
|
|
|
import "time"
|
|
|
|
// Label represents a workspace-scoped label with a display color.
|
|
type Label struct {
|
|
ID string `json:"id" db:"id"`
|
|
WorkspaceID string `json:"workspace_id" db:"workspace_id"`
|
|
Name string `json:"name" db:"name"`
|
|
Color string `json:"color" db:"color"`
|
|
CreatedAt time.Time `json:"created_at" db:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at" db:"updated_at"`
|
|
}
|