宇恒一号官网
This commit is contained in:
10
server/models/workspace.go
Normal file
10
server/models/workspace.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package models
|
||||
|
||||
import "go.mongodb.org/mongo-driver/v2/bson"
|
||||
|
||||
type Workspace struct {
|
||||
ID bson.ObjectID `bson:"_id,omitempty" json:"id"`
|
||||
Name string `bson:"name" json:"name"`
|
||||
UserID string `bson:"user_id" json:"user_id"`
|
||||
CreatedAt string `bson:"created_at" json:"created_at"`
|
||||
}
|
||||
Reference in New Issue
Block a user