mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 12:50:05 +01:00
13 lines
347 B
Go
13 lines
347 B
Go
package models
|
|
|
|
import "github.com/google/uuid"
|
|
|
|
type Organization struct {
|
|
ID uuid.UUID `gorm:"type:uuid;primaryKey;default:gen_random_uuid()" json:"id"`
|
|
Name string `gorm:"not null" json:"name"`
|
|
Slug string `gorm:"unique" json:"slug"`
|
|
Logo string `json:"logo"`
|
|
Metadata string `json:"metadata"`
|
|
Timestamped
|
|
}
|