package common import ( "time" "github.com/google/uuid" "gorm.io/gorm" ) type Workspace struct { ID uuid.UUID `gorm:"type:uuid;primary_key" json:"id"` Name string `gorm:"not null;size:100" json:"name"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt gorm.DeletedAt `gorm:"index" json:"deleted_at"` } type CreateWorkspaceOwnerRequest struct { Email string `json:"email"` Name string `json:"name"` PhoneNumber string `json:"phone_number"` Password string `json:"password"` } type AddUserToWorkspaceRequest struct { WorkspaceID uuid.UUID `json:"workspace_id"` Role string `json:"role"` }